fix(cpn): update main window menus and toolbars on fixing invalid models (#5890)

This commit is contained in:
Neil Horne
2025-02-12 09:48:58 +10:00
committed by GitHub
parent 9a4b462b91
commit 4c071f6555
3 changed files with 4 additions and 0 deletions
+2
View File
@@ -374,6 +374,8 @@ void MdiChild::updateNavigation()
action[ACT_MDL_PRT]->setEnabled(singleModelSelected);
action[ACT_MDL_SIM]->setEnabled(singleModelSelected && !invalidModels());
action[ACT_MDL_ERR]->setEnabled(singleModelSelected && radioData.models[getCurrentModel()].modelErrors);
emit navigationUpdated();
}
void MdiChild::retranslateUi()