Skip to content

Commit

Permalink
Make profiling open up the transformations browser
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@20304 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Apr 29, 2014
1 parent 5147fd9 commit 654a0b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OMEdit/OMEditGUI/GUI/Dialogs/SimulationDialog.cpp
Expand Up @@ -1179,7 +1179,7 @@ void SimulationDialog::simulationProcessFinished(int exitCode, QProcess::ExitSta
if (mSimulationOptions.isProfiling())
{
QString fileName = QString(mSimulationOptions.getOutputFileName()).remove(QRegExp("(_res.mat|_res.plt|_res.csv)"));
QDesktopServices::openUrl(QUrl(mSimulationOptions.getWorkingDirectory() + "/" + fileName + "_prof.html"));
mpMainWindow->showTransformationsWidget(mSimulationOptions.getWorkingDirectory() + "/" + mSimulationOptions.getFileNamePrefix() + "_info.xml");
}
}
/* if it is a re-simulation then we need to hide the progress dialog */
Expand Down

0 comments on commit 654a0b7

Please sign in to comment.