Commit 59c67f5f authored by Matthieu Gallien's avatar Matthieu Gallien 🎵
Browse files

fix handling of menu exported by system tray icon

seems that reusing the menu exported for the global menu is a very bad

using a menu as a child of the system tray icon seems to be the

BUG: 409010
CCBUG: 419145
parent 1d97cafd
......@@ -68,7 +68,8 @@ Item {
tooltip: mainWindow.title
visible: available && showSystemTrayIcon && !mainWindow.visible
menu: globalMenu
menu: NativeApplicationMenu {
onActivated: {
if (reason === NativeMenu.SystemTrayIcon.Trigger && !elisaMainWindow.visible) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment