[bugfix] same problem as prior commit

This commit is contained in:
Marcel Paffrath 2019-12-17 17:04:08 +01:00
parent fa4423f65d
commit be397edf1c

View File

@ -4608,8 +4608,8 @@ class InputsTab(PropTab):
self.tstopBox = QSpinBox()
for spinbox in [self.tstartBox, self.tstopBox]:
spinbox.setRange(-99999, 99999)
self.tstartBox.setValue(settings.value('tstart') if get_None(settings.value('tstart')) else 0)
self.tstopBox.setValue(settings.value('tstop') if get_None(settings.value('tstop')) else 0)
self.tstartBox.setValue(float(settings.value('tstart')) if get_None(settings.value('tstart')) else 0)
self.tstopBox.setValue(float(settings.value('tstop')) if get_None(settings.value('tstop')) else 0)
self.cuttimesLayout.addWidget(self.tstartBox, 10)
self.cuttimesLayout.addWidget(QLabel('[s] and'), 0)
self.cuttimesLayout.addWidget(self.tstopBox, 10)