Move submodels menu entry above models list

Makes it easier to find the menu entry even in models with large number
of submodels.
This commit is contained in:
Thomas Cujé 2019-03-10 15:51:49 +01:00 committed by Leonardo Zide
parent 90726f612e
commit 764c653252

View file

@ -547,10 +547,10 @@ void lcMainWindow::CreateMenus()
QMenu* ModelMenu = menuBar()->addMenu(tr("Sub&model"));
ModelMenu->addAction(mActions[LC_MODEL_PROPERTIES]);
ModelMenu->addAction(mActions[LC_MODEL_NEW]);
ModelMenu->addAction(mActions[LC_MODEL_LIST]);
ModelMenu->addSeparator();
for (int ModelIdx = LC_MODEL_FIRST; ModelIdx <= LC_MODEL_LAST; ModelIdx++)
ModelMenu->addAction(mActions[ModelIdx]);
ModelMenu->addAction(mActions[LC_MODEL_LIST]);
QMenu* HelpMenu = menuBar()->addMenu(tr("&Help"));
HelpMenu->addAction(mActions[LC_HELP_HOMEPAGE]);