From 1269dac39acdf547681c963b2f5e5e74502827f7 Mon Sep 17 00:00:00 2001 From: jfa Date: Mon, 1 Aug 2005 11:55:40 +0000 Subject: [PATCH] Update Plot2d viewer on curve deletion --- src/VISUGUI/VisuGUI_Tools.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/VISUGUI/VisuGUI_Tools.cxx b/src/VISUGUI/VisuGUI_Tools.cxx index 7e85c595..d340ba36 100644 --- a/src/VISUGUI/VisuGUI_Tools.cxx +++ b/src/VISUGUI/VisuGUI_Tools.cxx @@ -381,6 +381,8 @@ namespace VISU CORBA::Object_var anObj = VISU::ClientSObjectToObject(theSObject); if (!CORBA::is_nil(anObj)) { + ErasePrs(theModule, anObj); + VISU::RemovableObject_var aRemovableObject = VISU::RemovableObject::_narrow(anObj); if (!CORBA::is_nil(aRemovableObject)) { aRemovableObject->RemoveFromStudy(); -- 2.39.2