From 7e3b8c87dda5d240b6798b87a77e5ddd7b089524 Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Thu, 13 Aug 2015 15:13:09 +0200 Subject: [PATCH] Fixed update of 3D view after delete of all wells --- ApplicationCode/Commands/RicWellPathsDeleteAllFeature.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ApplicationCode/Commands/RicWellPathsDeleteAllFeature.cpp b/ApplicationCode/Commands/RicWellPathsDeleteAllFeature.cpp index 93844c66a2..4ff1942fd2 100644 --- a/ApplicationCode/Commands/RicWellPathsDeleteAllFeature.cpp +++ b/ApplicationCode/Commands/RicWellPathsDeleteAllFeature.cpp @@ -75,7 +75,8 @@ void RicWellPathsDeleteAllFeature::onActionTriggered(bool isChecked) RimWellPathCollection* wellPathCollection = objects[0]; wellPathCollection->wellPaths.deleteAllChildObjects(); - uiObj(wellPathCollection)->updateConnectedEditors(); + + wellPathCollection->wellPaths.uiCapability()->updateConnectedEditors(); } //--------------------------------------------------------------------------------------------------