Skip to content

Commit

Permalink
ticket:4440 Make sure we always simulate when user selects simulate f…
Browse files Browse the repository at this point in the history
…rom menu.
  • Loading branch information
adeas31 committed Jun 8, 2017
1 parent 44459e5 commit 8888f42
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions OMEdit/OMEditGUI/Simulation/SimulationDialog.cpp
Expand Up @@ -125,7 +125,13 @@ void SimulationDialog::directSimulate(LibraryTreeItem *pLibraryTreeItem, bool la
#else
assert(false==launchAnimation);
#endif
/* ticket:4440 OMEdit does not simulate
* Make sure we always simulate when directSimulate() is called.
*/
bool simulateCheckBoxState = mpSimulateCheckBox->isChecked();
mpSimulateCheckBox->setChecked(true);
simulate();
mpSimulateCheckBox->setChecked(simulateCheckBoxState);
}

/*!
Expand Down

0 comments on commit 8888f42

Please sign in to comment.