From e27ea79bc6333a36fc79aececcc3010f222959cb Mon Sep 17 00:00:00 2001 From: DarkPhoenix Date: Wed, 23 Sep 2020 13:48:24 +0300 Subject: [PATCH] Add recalculation after unloading charge --- gui/fitCommands/calc/module/localReplace.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gui/fitCommands/calc/module/localReplace.py b/gui/fitCommands/calc/module/localReplace.py index 95ac5924b..83b277c51 100644 --- a/gui/fitCommands/calc/module/localReplace.py +++ b/gui/fitCommands/calc/module/localReplace.py @@ -91,6 +91,8 @@ class CalcReplaceLocalModuleCommand(wx.Command): @property def needsGuiRecalc(self): + if self.unloadedCharge: + return True if self.savedStateCheckChanges is None: return True for container in self.savedStateCheckChanges: