Set parameter default button's autoDefault value to False.

Makes dialogs containing parameter trees behave more intuitively.
This commit is contained in:
lidstrom83 2016-05-03 17:13:46 -06:00
parent 670d63cdf4
commit edce25b3ce

View File

@ -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__)