diff --git a/pyqtgraph/widgets/SpinBox.py b/pyqtgraph/widgets/SpinBox.py index b1c72668..88cc02a6 100644 --- a/pyqtgraph/widgets/SpinBox.py +++ b/pyqtgraph/widgets/SpinBox.py @@ -223,6 +223,10 @@ class SpinBox(QtGui.QAbstractSpinBox): if 'format' not in opts: self.opts['format'] = asUnicode("{value:d}{suffixGap}{suffix}") + + if self.opts['dec']: + if self.opts.get('minStep') is None: + self.opts['minStep'] = self.opts['step'] if 'delay' in opts: self.proxy.setDelay(opts['delay'])