Skip to content

Commit

Permalink
Show the simulation toolbar for SSP models (#11529)
Browse files Browse the repository at this point in the history
Fixes #11514
  • Loading branch information
adeas31 committed Nov 14, 2023
1 parent d2a4a2f commit cbc782a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OMEdit/OMEditLIB/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ void MainWindow::showModelingPerspectiveToolBars(ModelWidget *pModelWidget)
SHOW_HIDE_TOOLBAR(mpShapesToolBar, ToolBars::shapesToolBar, false);
SHOW_HIDE_TOOLBAR(mpModelSwitcherToolBar, ToolBars::modelSwitcherToolBar, true);
SHOW_HIDE_TOOLBAR(mpCheckToolBar, ToolBars::checkToolBar, false);
SHOW_HIDE_TOOLBAR(mpSimulationToolBar, ToolBars::simulationToolBar, false);
SHOW_HIDE_TOOLBAR(mpSimulationToolBar, ToolBars::simulationToolBar, true);
SHOW_HIDE_TOOLBAR(mpReSimulationToolBar, ToolBars::reSimulationToolBar, false);
mpReSimulationToolBar->setEnabled(mpVariablesDockWidget->isVisible() && !mpVariablesWidget->getVariablesTreeView()->selectionModel()->selectedIndexes().isEmpty());
SHOW_HIDE_TOOLBAR(mpPlotToolBar, ToolBars::plotToolBar, false);
Expand Down

0 comments on commit cbc782a

Please sign in to comment.