From 83e38e793a1504ef5d21a40d4c14b6c5c15a057d Mon Sep 17 00:00:00 2001 From: MikeTheWatchGuy Date: Wed, 24 Apr 2019 13:54:12 -0400 Subject: [PATCH] Fix for System Tray .Close. Should be calling self.Hide. --- PySimpleGUIQt/PySimpleGUIQt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PySimpleGUIQt/PySimpleGUIQt.py b/PySimpleGUIQt/PySimpleGUIQt.py index bf34e0fe..696cbda7 100644 --- a/PySimpleGUIQt/PySimpleGUIQt.py +++ b/PySimpleGUIQt/PySimpleGUIQt.py @@ -3026,7 +3026,7 @@ class SystemTray: :return: ''' - self.TrayIcon.Hide() + self.Hide() # Don't close app because windows could be depending on it # self.App.quit()