Refresh fix

This commit is contained in:
Vinicius Moreira
2019-06-13 21:37:14 -03:00
parent a968b5a703
commit 3e64c80a97

View File

@@ -67,7 +67,7 @@ class TrayIcon(QSystemTrayIcon):
if bool(os.getenv('FPAKMAN_UPDATE_NOTIFICATION', 1)):
os.system("notify-send -i {} '{}'".format(resource.get_path('img/flathub_10.svg'), msg))
if self.manage_window and not self.manage_window.isHidden():
if self.manage_window:
self.manage_window.refresh()
else: