diff --git a/ApplicationCode/Commands/RicDeleteItemExec.cpp b/ApplicationCode/Commands/RicDeleteItemExec.cpp index 829fce61c0..060e5b35e7 100644 --- a/ApplicationCode/Commands/RicDeleteItemExec.cpp +++ b/ApplicationCode/Commands/RicDeleteItemExec.cpp @@ -34,6 +34,8 @@ #include "RimWellPathCollection.h" #include "RimView.h" #include "RimWellLogPlot.h" +#include "RimWellLogPlotCollection.h" +#include "RimProject.h" namespace caf @@ -112,6 +114,18 @@ void RicDeleteItemExec::redo() { wellLogPlot->updateAvailableDepthRange(); } + + RimWellLogPlotCollection* wellLogPlotCollection = NULL; + parentObj->firstAnchestorOrThisOfType(wellLogPlotCollection); + if (wellLogPlotCollection) + { + RimProject* project = NULL; + parentObj->firstAnchestorOrThisOfType(project); + if (project) + { + project->updateConnectedEditors(); + } + } } }