Merge remote-tracking branch 'lidstrom83/Parameter_limits_fix' into spinbox-formatting
This commit is contained in:
commit
4aad24a52d
@ -108,7 +108,7 @@ class WidgetParameterItem(ParameterItem):
|
||||
if k in opts:
|
||||
defs[k] = opts[k]
|
||||
if 'limits' in opts:
|
||||
defs['bounds'] = opts['limits']
|
||||
defs['min'], defs['max'] = opts['limits']
|
||||
w = SpinBox()
|
||||
w.setOpts(**defs)
|
||||
w.sigChanged = w.sigValueChanged
|
||||
|
Loading…
Reference in New Issue
Block a user