From 418c42c0bdd8d388cdca5c766e81e7773c2c7bca Mon Sep 17 00:00:00 2001 From: Piotr Rozyczko Date: Mon, 31 Jul 2023 09:39:37 +0200 Subject: [PATCH] Added the model reload signal on data swap --- src/sas/qtgui/Perspectives/Fitting/FittingWidget.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sas/qtgui/Perspectives/Fitting/FittingWidget.py b/src/sas/qtgui/Perspectives/Fitting/FittingWidget.py index 2d5088670d..fc89951667 100644 --- a/src/sas/qtgui/Perspectives/Fitting/FittingWidget.py +++ b/src/sas/qtgui/Perspectives/Fitting/FittingWidget.py @@ -223,6 +223,8 @@ def data(self, value): self.smearing_widget.resetSmearer() # Enable/disable UI components self.setEnablementOnDataLoad() + # Reinitialize model list for constrained/simult fitting + self.newModelSignal.emit() def initializeGlobals(self): """