#1917 Plot project tree. Clean up summary plot popup menu.

This commit is contained in:
Bjørn Erik Jensen
2017-09-21 10:47:55 +02:00
parent 292ea3c67f
commit a72f2ea421
5 changed files with 16 additions and 17 deletions

View File

@@ -59,7 +59,7 @@
#include "cafUtils.h"
#include "ExportCommands/RicSnapshotAllViewsToFileFeature.h"
#include "SummaryPlotCommands/RicEditSummaryCurves.h"
#include "SummaryPlotCommands/RicEditSummaryPlotFeature.h"
#include "cvfTimer.h"
@@ -185,7 +185,7 @@ void RiuMainWindow::cleanupGuiCaseClose()
}
m_processMonitor->startMonitorWorkProcess(NULL);
RicEditSummaryCurves* editSumCurves = dynamic_cast<RicEditSummaryCurves*>(caf::CmdFeatureManager::instance()->getCommandFeature("RicEditSummaryCurves"));
RicEditSummaryPlotFeature* editSumCurves = dynamic_cast<RicEditSummaryPlotFeature*>(caf::CmdFeatureManager::instance()->getCommandFeature("RicEditSummaryPlotFeature"));
if (editSumCurves)
{
editSumCurves->closeDialogAndResetTargetPlot();