From a52472d6e03955aa224048b35be2c326a9d7bbe0 Mon Sep 17 00:00:00 2001 From: Sayak Mukhopadhyay <mukhopadhyaysayak@gmail.com> Date: Mon, 26 Apr 2021 19:18:47 +0530 Subject: [PATCH] Fix for tray icon not stopping on app stop when minimize to tray option is disabled --- EDMarketConnector.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/EDMarketConnector.py b/EDMarketConnector.py index 1eedb0f3..30ddc857 100755 --- a/EDMarketConnector.py +++ b/EDMarketConnector.py @@ -1392,8 +1392,7 @@ class AppWindow(object): def onexit(self, event=None) -> None: """Application shutdown procedure.""" - value = config.get_bool('minimize_system_tray') - if platform == 'win32' and value is not None and value: + if platform == 'win32': shutdown_thread = threading.Thread(target=self.systray.shutdown) shutdown_thread.setDaemon(True) shutdown_thread.start()