Skip to content

Commit

Permalink
Set the nfapi on startup (#7218)
Browse files Browse the repository at this point in the history
  • Loading branch information
adeas31 committed Feb 24, 2021
1 parent 780a1a5 commit 11fcab4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion OMEdit/OMEditLIB/MainWindow.cpp
Expand Up @@ -366,7 +366,8 @@ void MainWindow::setUpMainWindow(threadData_t *threadData)
mpOMCProxy->setCommandLineOptions("-d=infoXmlOperations");
}
OptionsDialog::instance()->saveSimulationSettings();
// restore OMEdit widgets state
OptionsDialog::instance()->saveNFAPISettings();
// restore OMEdit widgets state
QSettings *pSettings = Utilities::getApplicationSettings();
if (OptionsDialog::instance()->getGeneralSettingsPage()->getPreserveUserCustomizations()) {
restoreGeometry(pSettings->value("application/geometry").toByteArray());
Expand Down

0 comments on commit 11fcab4

Please sign in to comment.