Skip to content

Commit

Permalink
[sextante] increase max and min limits for numeric values (fixes #7143
Browse files Browse the repository at this point in the history
and possible similar issues)
  • Loading branch information
alexbruy committed Apr 10, 2013
1 parent dc0d240 commit 4219eb1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/plugins/sextante/gui/NumberInputPanel.py
Expand Up @@ -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)
Expand All @@ -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.