Skip to content
Permalink
Browse files

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

and possible similar issues)
  • Loading branch information
alexbruy committed Apr 10, 2013
1 parent dc0d240 commit 4219eb1dba008c1f96981c44efdd36c5a1f2a9c0
Showing with 3 additions and 3 deletions.
  1. +3 −3 python/plugins/sextante/gui/NumberInputPanel.py
@@ -36,8 +36,8 @@ def __init__(self, number, isInteger):
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 @@ def getValue(self):
if self.isInteger:
return self.spin.value()
else:
return self.text.text()
return self.text.text()

0 comments on commit 4219eb1

Please sign in to comment.
You can’t perform that action at this time.