diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a5375a..4505e0d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ # Changelog ## 0.8.x +### 0.8.3: Fix – OptimaLab35 Not Closing After Update +- Fixed an issue where **OptimaLab35** would not close properly when updating, resulting in an unresponsive instance and multiple running processes. + ### 0.8.2: Patch for New PyPiUpdater Version - Updated to support **PyPiUpdater 0.4.0**. - Now stores version information locally, preventing an "unknown" state on the first updater launch. diff --git a/src/OptimaLab35/gui.py b/src/OptimaLab35/gui.py index 6fda769..24c2871 100644 --- a/src/OptimaLab35/gui.py +++ b/src/OptimaLab35/gui.py @@ -490,7 +490,7 @@ class UpdaterWindow(QMainWindow, Ui_Updater_Window): def define_gui_interaction(self): """Setup UI interactions.""" - if self.optimalab35_localversion == "0.0.1": + if self.optimalab35_localversion == "0.0.2": self.dev_mode() return else: @@ -583,7 +583,8 @@ class UpdaterWindow(QMainWindow, Ui_Updater_Window): msg.exec() # Restart the application after user clicks "OK" - self.ppu_ol35.restart_program() + #self.ppu_ol35.restart_program() + self.restart_program() def restart_program(self): """Restart the Python program after an update."""