diff --git a/EDMarketConnector.py b/EDMarketConnector.py index 06fb5bc6..04d9dc57 100755 --- a/EDMarketConnector.py +++ b/EDMarketConnector.py @@ -1751,6 +1751,11 @@ class AppWindow(object): self.w.overrideredirect(False) # Can't iconize while overrideredirect self.w.iconify() self.w.update_idletasks() # Size and windows styles get recalculated here + + # If we're meant to "minimize to system tray" then hide the window so no taskbar icon is seen + if config.get_bool('minimize_system_tray'): + self.w.withdraw() + self.w.wait_visibility() # Need main window to be re-created before returning theme.active = None # So theme will be re-applied on map