- 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:
Marius Stanciu
2020-02-03 02:18:28 +02:00
committed by Marius
parent 31c0cd0952
commit 10d4ed512b
4 changed files with 136 additions and 74 deletions

View File

@@ -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]