Skip to content

Commit

Permalink
fix #11415: Help Menu - Ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
poypoyan committed Apr 27, 2022
1 parent ee2458c commit 06da581
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions src/appshell/view/appmenumodel.cpp
Expand Up @@ -321,22 +321,23 @@ MenuItem* AppMenuModel::makeHelpMenu()
MenuItemList helpItems {
makeMenuItem("online-handbook"),
makeSeparator(),
makeMenuItem("ask-help"),
makeMenuItem("report-bug"),
makeMenuItem("leave-feedback"),
makeSeparator(),
makeMenuItem("about", MenuItemRole::AboutRole),
makeMenuItem("about-qt", MenuItemRole::AboutQtRole),
makeMenuItem("about-musicxml")
makeMenuItem("about-musicxml"),
makeSeparator(),
makeMenuItem("revert-factory")
};

// put on top
if (configuration()->isAppUpdatable()) {
helpItems << makeMenuItem("check-update");
helpItems.push_front(makeSeparator());
helpItems.push_front(makeMenuItem("check-update"));
}

helpItems << makeSeparator()
<< makeMenuItem("ask-help")
<< makeMenuItem("report-bug")
<< makeMenuItem("leave-feedback")
<< makeSeparator()
<< makeMenuItem("revert-factory");

return makeMenu(qtrc("appshell", "&Help"), helpItems, "menu-help");
}

Expand Down

0 comments on commit 06da581

Please sign in to comment.