Merge pull request #330 from lidstrom83/Parameter.defaultBtn_autoDefault

Set parameter's default button autoDefault value to False
This commit is contained in:
Kenneth Lyons 2020-06-27 15:12:03 -07:00 committed by GitHub
commit 96d1ef986f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -45,6 +45,7 @@ class WidgetParameterItem(ParameterItem):
self.eventProxy = EventProxy(w, self.widgetEventFilter)
self.defaultBtn = QtGui.QPushButton()
self.defaultBtn.setAutoDefault(False)
self.defaultBtn.setFixedWidth(20)
self.defaultBtn.setFixedHeight(20)
modDir = os.path.dirname(__file__)