Fix bug where int and float parameter limits are not always set.
This commit is contained in:
parent
670d63cdf4
commit
5322c0233b
@ -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