mirror of
https://github.com/leozide/leocad
synced 2025-01-30 20:34:56 +01:00
Fixed last model entry not being added to the menu.
This commit is contained in:
parent
e377928045
commit
c4689812a2
1 changed files with 2 additions and 2 deletions
|
@ -438,8 +438,8 @@ void lcMainWindow::CreateMenus()
|
||||||
ModelMenu->addAction(mActions[LC_MODEL_PROPERTIES]);
|
ModelMenu->addAction(mActions[LC_MODEL_PROPERTIES]);
|
||||||
ModelMenu->addAction(mActions[LC_MODEL_NEW]);
|
ModelMenu->addAction(mActions[LC_MODEL_NEW]);
|
||||||
ModelMenu->addSeparator();
|
ModelMenu->addSeparator();
|
||||||
for (int ModelIdx = 0; ModelIdx < LC_MODEL_LAST - LC_MODEL_FIRST; ModelIdx++)
|
for (int ModelIdx = LC_MODEL_FIRST; ModelIdx <= LC_MODEL_LAST; ModelIdx++)
|
||||||
ModelMenu->addAction(mActions[LC_MODEL_FIRST + ModelIdx]);
|
ModelMenu->addAction(mActions[ModelIdx]);
|
||||||
ModelMenu->addAction(mActions[LC_MODEL_LIST]);
|
ModelMenu->addAction(mActions[LC_MODEL_LIST]);
|
||||||
|
|
||||||
QMenu* HelpMenu = menuBar()->addMenu(tr("&Help"));
|
QMenu* HelpMenu = menuBar()->addMenu(tr("&Help"));
|
||||||
|
|
Loading…
Add table
Reference in a new issue