mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#7008 Python: Avoid terminating process as part of open/closeProject
When running scripts, a project file can be opened. If other operations are issued after, the process monitor window was disconnected from the script process, and no text output from the script was visible in the process monitor text window. New behavior : Never terminate a process automatically. Never terminate process as part of open/close project. If a process is left unresponsive, the user is now responsible for manual termination of this process.
This commit is contained in:
parent
5db32823c5
commit
b8dcabe023
@ -780,7 +780,6 @@ void RiaApplication::closeProject()
|
||||
{
|
||||
onProjectBeingClosed();
|
||||
|
||||
terminateProcess();
|
||||
m_project->close();
|
||||
m_commandQueue.clear();
|
||||
|
||||
|
@ -213,8 +213,6 @@ void RiuMainWindow::initializeGuiNewProjectLoaded()
|
||||
m_pdmUiPropertyView->currentObject()->uiCapability()->updateConnectedEditors();
|
||||
}
|
||||
|
||||
m_processMonitor->slotClearTextEdit();
|
||||
|
||||
if ( statusBar() && !RiaRegressionTestRunner::instance()->isRunningRegressionTests() )
|
||||
{
|
||||
statusBar()->showMessage( "Ready ..." );
|
||||
@ -259,7 +257,6 @@ void RiuMainWindow::cleanupGuiCaseClose()
|
||||
projPropView->showProperties( nullptr );
|
||||
}
|
||||
}
|
||||
m_processMonitor->startMonitorWorkProcess( nullptr );
|
||||
|
||||
RicEditSummaryPlotFeature* editSumCurves = dynamic_cast<RicEditSummaryPlotFeature*>(
|
||||
caf::CmdFeatureManager::instance()->getCommandFeature( "RicEditSummaryPlotFeature" ) );
|
||||
|
Loading…
Reference in New Issue
Block a user