Skip to content

Commit

Permalink
add message for tray start
Browse files Browse the repository at this point in the history
  • Loading branch information
shotwn committed Apr 4, 2020
1 parent a12cdb9 commit 1cd1c80
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gui/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,10 @@ def start(self):
self.root.si.add_trigger(self.show)

# Settings are triggered here.
if not self.root.settings.get("startup", "tray"):
if not self.root.settings.get("startup", "tray"): # Start regularly or as tray icon
self.main_window.show()
else:
self.tray.showMessage("FS Time Sync", "FS Time Sync Started in Tray.")
self.tray_actions["hide_show"].setText("Show")
self.tray_actions["hide_show"].triggered.connect(self.show)

Expand Down

0 comments on commit 1cd1c80

Please sign in to comment.