Use a more intuitive to type maximum

This commit is contained in:
Kovid Goyal 2024-03-03 09:57:02 +05:30
parent d5360885ae
commit d99570a2b6
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -121,7 +121,7 @@ class Int(QSpinBox):
def __init__(self, name, layout): def __init__(self, name, layout):
QSpinBox.__init__(self) QSpinBox.__init__(self)
self.setRange(0, 20000) self.setRange(0, 99999)
opt = options[name] opt = options[name]
self.valueChanged.connect(self.changed_signal.emit) self.valueChanged.connect(self.changed_signal.emit)
init_opt(self, opt, layout) init_opt(self, opt, layout)