From c91537be6be9cd4a9594c2e8bbd6a7b587b8a029 Mon Sep 17 00:00:00 2001 From: dmv Date: Thu, 17 Jan 2008 13:33:14 +0000 Subject: [PATCH] IPAL 18562 --- src/EntityGUI/EntityGUI_SubShapeDlg.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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() ); } -- 2.39.2