diff --git a/pylot/RELEASE-VERSION b/pylot/RELEASE-VERSION index 80072d08..31221127 100644 --- a/pylot/RELEASE-VERSION +++ b/pylot/RELEASE-VERSION @@ -1 +1 @@ -cf399-dirty +eaa4-dirty diff --git a/pylot/core/util/widgets.py b/pylot/core/util/widgets.py index 1b97db1a..05d0bf95 100644 --- a/pylot/core/util/widgets.py +++ b/pylot/core/util/widgets.py @@ -1856,6 +1856,8 @@ class AutoPickParaBox(QtGui.QWidget): box = QtGui.QLineEdit() elif typ == float: box = QtGui.QDoubleSpinBox() + box.setDecimals(5) + box.setRange(-10e5, 10e5) elif typ == int: box = QtGui.QSpinBox() elif typ == bool: @@ -1946,8 +1948,6 @@ class AutoPickParaBox(QtGui.QWidget): if type(box) == QtGui.QLineEdit: box.setText(str(value)) elif type(box) == QtGui.QSpinBox or type(box) == QtGui.QDoubleSpinBox: - box.setMaximum(10e7) - box.setMinimum(-10e7) box.setValue(value) elif type(box) == QtGui.QCheckBox: if value == 'True':