diff --git a/internal/compiler/widgets/common/menus.slint b/internal/compiler/widgets/common/menus.slint index 9cdc50ab9..b7b3c14d1 100644 --- a/internal/compiler/widgets/common/menus.slint +++ b/internal/compiler/widgets/common/menus.slint @@ -166,6 +166,8 @@ export component MenuBarImpl { } context-menu := ContextMenuInternal { + // Only manual calls to `show` should open the menu, and we shouldn't react to clicks. + enabled: false; activated(entry) => { root.activated(entry); self.close(); } sub-menu(entry) => { root.sub-menu(entry); } }