From: dmv Date: Thu, 17 Jan 2008 13:33:14 +0000 (+0000) Subject: IPAL 18562 X-Git-Tag: for_M2008_07022008~12 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c91537be6be9cd4a9594c2e8bbd6a7b587b8a029;p=modules%2Fgeom.git IPAL 18562 --- diff --git a/src/EntityGUI/EntityGUI_SubShapeDlg.cxx b/src/EntityGUI/EntityGUI_SubShapeDlg.cxx index e84e368f8..d4c0e9ae1 100644 --- a/src/EntityGUI/EntityGUI_SubShapeDlg.cxx +++ b/src/EntityGUI/EntityGUI_SubShapeDlg.cxx @@ -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() ); }