mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5725 Add delete command for analysis plot filters
This commit is contained in:
@@ -53,6 +53,7 @@
|
||||
|
||||
#include "RiuPlotMainWindow.h"
|
||||
|
||||
#include "RimAnalysisPlot.h"
|
||||
#include "cafNotificationCenter.h"
|
||||
#include "cafPdmChildArrayField.h"
|
||||
#include "cafPdmDocument.h"
|
||||
@@ -338,6 +339,15 @@ void RicDeleteItemExec::redo()
|
||||
surfCollection->updateViews();
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
RimAnalysisPlot* analysisPlot;
|
||||
parentObj->firstAncestorOrThisOfType( analysisPlot );
|
||||
if ( analysisPlot )
|
||||
{
|
||||
analysisPlot->loadDataAndUpdate();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user