mirror of
https://github.com/borgbase/vorta
synced 2024-12-22 15:57:34 +00:00
Fix double call to on_user_click. By @olivierlemoal (#1031)
This commit is contained in:
parent
ea40d7b359
commit
7d2dbe001d
1 changed files with 0 additions and 2 deletions
|
@ -33,8 +33,6 @@ def on_activation(self, reason):
|
||||||
if reason in [QSystemTrayIcon.Trigger, QSystemTrayIcon.DoubleClick] and \
|
if reason in [QSystemTrayIcon.Trigger, QSystemTrayIcon.DoubleClick] and \
|
||||||
os.environ.get('XDG_CURRENT_DESKTOP'):
|
os.environ.get('XDG_CURRENT_DESKTOP'):
|
||||||
self.app.toggle_main_window_visibility()
|
self.app.toggle_main_window_visibility()
|
||||||
else:
|
|
||||||
self.on_user_click()
|
|
||||||
|
|
||||||
def on_user_click(self):
|
def on_user_click(self):
|
||||||
"""Build system tray menu based on current state."""
|
"""Build system tray menu based on current state."""
|
||||||
|
|
Loading…
Reference in a new issue