catch errors in fit preparation

This commit is contained in:
Dominik Demuth
2023-09-07 19:52:53 +02:00
parent e2e52cebde
commit a406908a69
4 changed files with 79 additions and 60 deletions

View File

@ -298,7 +298,8 @@ class ParameterSingleWidget(QtWidgets.QWidget):
self._name = name
self.label.setText(convert(name))
self.label.setToolTip('If this is bold then this parameter is only for this data. otherwise the general parameter is used and displayed')
self.label.setToolTip('If this is bold then this parameter is only for this data. '
'Otherwise, the general parameter is used and displayed')
self.value_line.setValidator(QtGui.QDoubleValidator())
self.value_line.textChanged.connect(lambda: self.valueChanged.emit(self.value) if self.value is not None else 0)