summarylogtreecommitdiffstats
path: root/systray-buttons-fix.patch
blob: 4cd84b35fe76c52c99b26093dea5f5f5ec3b3ad5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/build/main.js b/build/main.js
index b3f9f68..835438e 100644
--- a/build/main.js
+++ b/build/main.js
@@ -1305,7 +1305,7 @@
       };
     function noAcceleratorTrigger(fn) {
       return (item, window, event) => {
-        event.triggeredByAccelerator || fn();
+        if (!window) { fn(); }
       };
     }
     let MenuService = class {