#1406 Automatically show process monitor when executing script for case

This commit is contained in:
Bjørnar Grip Fjær 2017-04-07 09:57:34 +02:00
parent 224211f765
commit b7279cafd0

View File

@ -21,6 +21,7 @@
#include "RimCase.h"
#include "RiaApplication.h"
#include "RiuMainWindow.h"
#include "cafSelectionManager.h"
@ -74,6 +75,9 @@ void RicExecuteScriptForCasesFeature::slotExecuteScriptForSelectedCases()
QString scriptAbsolutePath = action->data().toString();
RiuMainWindow* mainWindow = RiuMainWindow::instance();
mainWindow->showProcessMonitorDockPanel();
RiaApplication* app = RiaApplication::instance();
QString octavePath = app->octavePath();
if (!octavePath.isEmpty())