diff --git a/pyqtgraph/parametertree/parameterTypes.py b/pyqtgraph/parametertree/parameterTypes.py index d8a5f1a6..0bb0ada7 100644 --- a/pyqtgraph/parametertree/parameterTypes.py +++ b/pyqtgraph/parametertree/parameterTypes.py @@ -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__)