bugfix (#193)
Build AppImage / Explore-Gitea-Actions (push) Successful in 1m32s

Co-authored-by: Dominik Demuth <dominik.demuth@physik.tu-darmstadt.de>
Reviewed-on: #193
This commit is contained in:
dominikandDominik Demuth committed 2023-12-30 15:40:44 +00:00
1 parent 24bba43b40
commit 57afee372f
2 files changed
+7 -2

No files matched your search

+4 -2
View File
@@ -77,9 +77,11 @@ class FitModelWidget(QtWidgets.QWidget, Ui_FitParameter):
if bds is not None:
self.set_bounds(*bds)
self.fixed_check.setCheckState(QtCore.Qt.CheckState.Unchecked if fixed else QtCore.Qt.CheckState.Checked)
if fixed is not None:
self.fixed_check.setCheckState(QtCore.Qt.CheckState.Unchecked if fixed else QtCore.Qt.CheckState.Checked)
self.global_checkbox.setCheckState(QtCore.Qt.CheckState.Checked if glob else QtCore.Qt.CheckState.Unchecked)
if glob is not None:
self.global_checkbox.setCheckState(QtCore.Qt.CheckState.Checked if glob else QtCore.Qt.CheckState.Unchecked)
def get_parameter(self):
try: