]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
IPAL 18562
authordmv <dmv@opencascade.com>
Thu, 17 Jan 2008 13:33:14 +0000 (13:33 +0000)
committerdmv <dmv@opencascade.com>
Thu, 17 Jan 2008 13:33:14 +0000 (13:33 +0000)
src/EntityGUI/EntityGUI_SubShapeDlg.cxx

index e84e368f84c53a5ff3df921e7eb8788cdec6dce3..d4c0e9ae12176daf7f5f89c640af208c5365dc21 100644 (file)
@@ -405,9 +405,9 @@ void EntityGUI_SubShapeDlg::ResetStateOfDialog()
 //=================================================================================
 void EntityGUI_SubShapeDlg::SubShapeToggled()
 {
-  if ( isAllSubShapes() )
-    globalSelection( GEOM_ALLSHAPES );
-  else
+  globalSelection( GEOM_ALLSHAPES );
+
+  if ( !isAllSubShapes() )
     localSelection( myObject, shapeType() );
 }