1
0
forked from IPKM/nmreval

remove parameter limit; closes

This commit is contained in:
Dominik Demuth 2023-07-25 17:23:25 +02:00
parent becc1a15a9
commit 402994e09b
2 changed files with 2 additions and 3 deletions

@ -20,10 +20,9 @@ class FitModelWidget(QtWidgets.QWidget, Ui_FitParameter):
self.parametername.setText(label + ' ')
validator = QtGui.QDoubleValidator()
validator.setDecimals(9)
self.parameter_line.setValidator(validator)
self.parameter_line.setText('1')
self.parameter_line.setMaximumWidth(60)
self.parameter_line.setMaximumWidth(240)
self.lineEdit.setMaximumWidth(60)
self.lineEdit_2.setMaximumWidth(60)

@ -298,7 +298,7 @@ class ParameterSingleWidget(QtWidgets.QWidget):
self._name = name
self.label.setText(convert(name))
self.label.setToolTip('IIf 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)