]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Update Plot2d viewer on curve deletion
authorjfa <jfa@opencascade.com>
Mon, 1 Aug 2005 11:55:40 +0000 (11:55 +0000)
committerjfa <jfa@opencascade.com>
Mon, 1 Aug 2005 11:55:40 +0000 (11:55 +0000)
src/VISUGUI/VisuGUI_Tools.cxx

index 7e85c5958db19da78bc9abf06cf1b803fcc1a04e..d340ba369af5561be75615d907aee1c1fcb31dfa 100644 (file)
@@ -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();