Skip to content

Commit

Permalink
Fixes ticket:5359 Read the modified simulation settings
Browse files Browse the repository at this point in the history
Belonging to [master]:
  - #121
  • Loading branch information
adeas31 authored and OpenModelica-Hudson committed Apr 3, 2019
1 parent 2dc8a10 commit 8fc9c91
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions OMEdit/OMEdit/OMEditGUI/Modeling/ModelWidgetContainer.cpp
Expand Up @@ -4091,6 +4091,8 @@ void ModelWidget::reDrawModelWidget()
mComponentsLoaded = false;
// get the model components
loadComponents();
// invalidate the simulation options
mpLibraryTreeItem->mSimulationOptions.setIsValid(false);
// update the icon
mpLibraryTreeItem->handleIconUpdated();
// Draw diagram view
Expand Down

0 comments on commit 8fc9c91

Please sign in to comment.