Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
set_as_windows_menu_for_nsapp
set_as_help_menu_for_nsapp
1 parent eadd8f5 commit 47e1b75Copy full SHA for 47e1b75
2 files changed
.changes/fix-window-menu-nsapp-command.md
@@ -0,0 +1,5 @@
1
+---
2
+"tauri": "patch:bug"
3
4
+
5
+Fixed `Submenu.setAsWindowsMenuForNSApp()` calling the Help menu setter instead of the Window menu setter.
crates/tauri/src/menu/plugin.rs
@@ -815,7 +815,7 @@ fn set_as_windows_menu_for_nsapp<R: Runtime>(
815
{
816
let resources_table = webview.resources_table();
817
let submenu = resources_table.get::<Submenu<R>>(rid)?;
818
- submenu.set_as_help_menu_for_nsapp()?;
+ submenu.set_as_windows_menu_for_nsapp()?;
819
}
820
821
let _ = rid;
0 commit comments