diff --git a/electron/managers/tray.ts b/electron/managers/tray.ts index 18661e58e3..4e1c1a4ff6 100644 --- a/electron/managers/tray.ts +++ b/electron/managers/tray.ts @@ -27,6 +27,7 @@ class TrayManager { { label: 'Quit', type: 'normal', click: () => app.quit() }, ]) tray.setContextMenu(contextMenu) + this.currentTray = tray } destroyCurrentTray() {