Skip to content

Commit

Permalink
another typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Dadangdut33 committed Feb 21, 2023
1 parent a6af70c commit 14230b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Main.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ def create_tray(self):
item(f"{app_name} {__version__}", lambda *args: None, enabled=False), # do nothing
menu.SEPARATOR,
item("About", self.open_app),
item("Settings", self.open_app),
item("Show Main Window", self.open_app),
item("Settings", self.open_setting),
item("Show Main Window", self.open_about),
menu.SEPARATOR,
item("Exit", self.exit_app),
item("Hidden onclick", self.open_app, default=True, visible=False), # onclick the icon will open_app
Expand Down Expand Up @@ -458,7 +458,7 @@ def open_about(self, _event=None):

def open_setting(self, _event=None):
assert gClass.sw is not None
gClass.sw.on_open()
gClass.sw.show()

def open_log(self, _event=None):
assert gClass.lw is not None
Expand Down

0 comments on commit 14230b4

Please sign in to comment.