Merge pull request #4257 from pypeclub/bugfix/OP-4678_Hiero---create-gui-input-min-and-max

hiero: creator gui with min max
This commit is contained in:
Jakub Ježek 2022-12-22 13:16:28 +01:00 committed by GitHub
commit 137e63fc4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -276,8 +276,8 @@ class CreatorWidget(QtWidgets.QDialog):
elif v["type"] == "QSpinBox":
data[k]["value"] = self.create_row(
content_layout, "QSpinBox", v["label"],
setRange=(1, 9999999), setValue=v["value"],
setToolTip=tool_tip)
setValue=v["value"], setMinimum=0,
setMaximum=100000, setToolTip=tool_tip)
return data