Skip to content

Commit

Permalink
Merge pull request #11434 from poypoyan/helpmenu
Browse files Browse the repository at this point in the history
fix #11415: Help Menu - Ordering
  • Loading branch information
RomanPudashkin committed Apr 27, 2022
2 parents a961033 + 06da581 commit 3392b39
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 3392b39

Please sign in to comment.