diff --git a/ui/src/tray.js b/ui/src/tray.js index 60f7a282..196c3df1 100644 --- a/ui/src/tray.js +++ b/ui/src/tray.js @@ -269,9 +269,12 @@ function updateTrayMenu() { // eslint-disable-next-line no-undef tray = new Tray(iconDisconnected); - tray.on("double-click", () => { - if (menuHandlerShow != null) menuHandlerShow(); - }); + // Windows: on tray icon click -> show app (macOS/Linux: show menu) + if (Platform() == PlatformEnum.Windows) { + tray.on("click", () => { + if (menuHandlerShow != null) menuHandlerShow(); + }); + } } // FAVORITE SERVERS MENU