From 7af9804df444e685992330599ea2c251b4b123e8 Mon Sep 17 00:00:00 2001 From: ptv Date: Thu, 17 Sep 2009 10:46:20 +0000 Subject: [PATCH] debug Group Dlg on Edit operation --- src/GroupGUI/GroupGUI_GroupDlg.cxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/GroupGUI/GroupGUI_GroupDlg.cxx b/src/GroupGUI/GroupGUI_GroupDlg.cxx index fd35dc5e1..5e5580351 100644 --- a/src/GroupGUI/GroupGUI_GroupDlg.cxx +++ b/src/GroupGUI/GroupGUI_GroupDlg.cxx @@ -809,7 +809,12 @@ void GroupGUI_GroupDlg::setShapeType( const TopAbs_ShapeEnum theType ) case TopAbs_SOLID: anId = 3; break; } setConstructorId( anId ); - myIsShapeType = true; + if (!myIsShapeType) + { + myIsShapeType = true; + // workaround top avoid set checked button 0 + setConstructorId( anId ); + } } -- 2.39.2