[add] parameter localMag added

This commit is contained in:
2017-06-20 12:10:56 +02:00
parent 62a7d94816
commit 0ff6f78a6c
3 changed files with 10 additions and 3 deletions

View File

@@ -2228,6 +2228,8 @@ class AutoPickParaBox(QtGui.QWidget):
if type(box) == QtGui.QLineEdit:
box.setText(str(value))
elif type(box) == QtGui.QSpinBox or type(box) == QtGui.QDoubleSpinBox:
if not value:
value = 0.
box.setValue(value)
elif type(box) == QtGui.QCheckBox:
if value == 'True':