- modified Spinbox and DoubleSpinbox Custom UI elements such that they issue a warning status message when the typed value is out of range
This commit is contained in:
@@ -504,7 +504,7 @@ class ObjectCollection(QtCore.QAbstractItemModel):
|
||||
name += "_1"
|
||||
obj.options["name"] = name
|
||||
|
||||
obj.set_ui(obj.ui_type(decimals=self.app.decimals))
|
||||
obj.set_ui(obj.ui_type(app=self.app))
|
||||
|
||||
# Required before appending (Qt MVC)
|
||||
group = self.group_items[obj.kind]
|
||||
|
||||
Reference in New Issue
Block a user