From 58a9546289982cf8915385e1beb1c8793cdc5a49 Mon Sep 17 00:00:00 2001 From: Ryan Clary <9618975+mrclary@users.noreply.github.com> Date: Thu, 19 Oct 2023 15:43:49 -0700 Subject: [PATCH 1/2] Fix issue where statusbar was not updated properly after running WorkerUpdates --- spyder/plugins/application/container.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/spyder/plugins/application/container.py b/spyder/plugins/application/container.py index 133b3999b65..5b8fce305ec 100644 --- a/spyder/plugins/application/container.py +++ b/spyder/plugins/application/container.py @@ -290,7 +290,14 @@ def _check_updates_ready(self): box.setText(error_msg) box.set_check_visible(False) box.show() + if self.application_update_status: + self.application_update_status.set_no_status() + elif update_available: + if self.application_update_status: + self.application_update_status.set_status_pending( + latest_release) + # Update using our installers if ( not sys.platform.startswith("linux") From 6ce339571afd93f1404a808851e5f3e0600e381f Mon Sep 17 00:00:00 2001 From: Ryan Clary <9618975+mrclary@users.noreply.github.com> Date: Fri, 20 Oct 2023 16:07:49 -0700 Subject: [PATCH 2/2] Apply suggestion from code review Co-authored-by: Carlos Cordoba --- spyder/plugins/application/container.py | 1 - 1 file changed, 1 deletion(-) diff --git a/spyder/plugins/application/container.py b/spyder/plugins/application/container.py index 5b8fce305ec..32933a71143 100644 --- a/spyder/plugins/application/container.py +++ b/spyder/plugins/application/container.py @@ -292,7 +292,6 @@ def _check_updates_ready(self): box.show() if self.application_update_status: self.application_update_status.set_no_status() - elif update_available: if self.application_update_status: self.application_update_status.set_status_pending(