Add a separator before Quit in the application menu (#30697)
macOS applications should have a separator between “Show All” and “Quit” in the application menu.
This commit is contained in:
@@ -44,6 +44,7 @@ pub fn app_menus() -> Vec<Menu> {
|
||||
MenuItem::action("Hide Others", super::HideOthers),
|
||||
#[cfg(target_os = "macos")]
|
||||
MenuItem::action("Show All", super::ShowAll),
|
||||
MenuItem::separator(),
|
||||
MenuItem::action("Quit", Quit),
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user