mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1889 Curve Creator : Close dialog when closing project
This commit is contained in:
@@ -59,6 +59,7 @@
|
||||
#include "cafUtils.h"
|
||||
|
||||
#include "ExportCommands/RicSnapshotAllViewsToFileFeature.h"
|
||||
#include "SummaryPlotCommands/RicEditSummaryCurves.h"
|
||||
|
||||
#include "cvfTimer.h"
|
||||
|
||||
@@ -183,6 +184,12 @@ void RiuMainWindow::cleanupGuiCaseClose()
|
||||
}
|
||||
}
|
||||
m_processMonitor->startMonitorWorkProcess(NULL);
|
||||
|
||||
RicEditSummaryCurves* editSumCurves = dynamic_cast<RicEditSummaryCurves*>(caf::CmdFeatureManager::instance()->getCommandFeature("RicEditSummaryCurves"));
|
||||
if (editSumCurves)
|
||||
{
|
||||
editSumCurves->closeDialogAndResetTargetPlot();
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user