Skip to content

Commit a652ac9

Browse files
committed
Merge pull request #14 from V1del/negativeQspinBox
Allow QSpinBox lower than 0
2 parents 5ba1e04 + d68c522 commit a652ac9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/m64py/frontend/plugin.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ def add_items(self):
8484
row1 += 1
8585
if not opts:
8686
widget = QSpinBox()
87-
widget.setMaximum(65535)
87+
widget.setMaximum(32767)
88+
widget.setMinimum(-32767)
8889
if param_help: widget.setToolTip(param_help)
8990
else:
9091
widget = QComboBox()

0 commit comments

Comments
 (0)