[sextante] increase max and min limits for numeric values (fixes #7143

and possible similar issues)
This commit is contained in:
Alexander Bruy 2013-04-10 14:40:23 +04:00
parent dc0d240dc9
commit 4219eb1dba

View File

@ -36,8 +36,8 @@ class NumberInputPanel(QtGui.QWidget):
self.isInteger = isInteger
if isInteger:
self.spin = QtGui.QSpinBox()
self.spin.setMaximum(100000)
self.spin.setMinimum(-100000)
self.spin.setMaximum(1000000000)
self.spin.setMinimum(-1000000000)
self.spin.setValue(number)
self.horizontalLayout.addWidget(self.spin)
self.setLayout(self.horizontalLayout)
@ -63,4 +63,4 @@ class NumberInputPanel(QtGui.QWidget):
if self.isInteger:
return self.spin.value()
else:
return self.text.text()
return self.text.text()