Set parameter default button's autoDefault value to False.
Makes dialogs containing parameter trees behave more intuitively.
This commit is contained in:
parent
670d63cdf4
commit
edce25b3ce
@ -48,6 +48,7 @@ class WidgetParameterItem(ParameterItem):
|
||||
w.setToolTip(opts['tip'])
|
||||
|
||||
self.defaultBtn = QtGui.QPushButton()
|
||||
self.defaultBtn.setAutoDefault(False)
|
||||
self.defaultBtn.setFixedWidth(20)
|
||||
self.defaultBtn.setFixedHeight(20)
|
||||
modDir = os.path.dirname(__file__)
|
||||
|
Loading…
Reference in New Issue
Block a user