Skip to content

Commit

Permalink
disable left-click if no default action is set
Browse files Browse the repository at this point in the history
  • Loading branch information
Yetenol committed Oct 10, 2022
1 parent 66d16d8 commit beead6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/trayMenu.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ _applyDefaultAction() {
action := this._readDefaultAction()
if not action {
TraySetIcon(DEFAULT_ICON)
A_TrayMenu.Default := ""
return
}
icon := action.icon
Expand Down

0 comments on commit beead6d

Please sign in to comment.