Fix #1855957 [[Enhancement] Increase Max. OPDS items per query](https://bugs.launchpad.net/calibre/+bug/1855957)

This commit is contained in:
Kovid Goyal 2019-12-11 11:49:47 +05:30
parent 5c2d0e7934
commit 3d42f724f3
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -126,7 +126,7 @@ class Int(QSpinBox):
def __init__(self, name, layout): def __init__(self, name, layout):
QSpinBox.__init__(self) QSpinBox.__init__(self)
self.setRange(0, 10000) self.setRange(0, 20000)
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)
@ -144,7 +144,7 @@ class Float(QDoubleSpinBox):
def __init__(self, name, layout): def __init__(self, name, layout):
QDoubleSpinBox.__init__(self) QDoubleSpinBox.__init__(self)
self.setRange(0, 10000) self.setRange(0, 20000)
self.setDecimals(1) self.setDecimals(1)
opt = options[name] opt = options[name]
self.valueChanged.connect(self.changed_signal.emit) self.valueChanged.connect(self.changed_signal.emit)