From: jfa Date: Mon, 1 Aug 2005 11:55:40 +0000 (+0000) Subject: Update Plot2d viewer on curve deletion X-Git-Tag: T_3_0_2a1~24 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1269dac39acdf547681c963b2f5e5e74502827f7;p=modules%2Fvisu.git Update Plot2d viewer on curve deletion --- 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();