]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Fix for the problem: regression: SMESH ? remove nodes/elements manually.
authormzn <mzn@opencascade.com>
Fri, 2 Sep 2005 08:18:36 +0000 (08:18 +0000)
committermzn <mzn@opencascade.com>
Fri, 2 Sep 2005 08:18:36 +0000 (08:18 +0000)
src/SMESHGUI/SMESHGUI.cxx

index 345f756f802a4c8e021cdbcfe9fd1ed19689a61f..02c8251023b2977c32b4aa48d122716df23f563b 100644 (file)
@@ -1170,8 +1170,13 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
          }
        }
       }
-      SALOME_ListIO l1;
-      aSel->setSelectedObjects( l1 );
+      
+      if (anAction == SMESH::eErase) {
+       SALOME_ListIO l1;
+       aSel->setSelectedObjects( l1 );
+      }
+      else
+       aSel->setSelectedObjects( selected );
       break;
     }