Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
sqzw-x committed Mar 1, 2024
2 parents f568ada + a642cd8 commit 3c3a266
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/controllers/main_window/load_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -1108,7 +1108,8 @@ def load_config(self):
if 'hide_menu' in switch_on:
self.Ui.checkBox_hide_menu_icon.setChecked(True)
try:
self.tray_icon.hide()
if hasattr(self, 'tray_icon'):
self.tray_icon.hide()
except:
signal.show_traceback_log(traceback.format_exc())
else:
Expand Down

0 comments on commit 3c3a266

Please sign in to comment.