From: ouv Date: Fri, 5 Jun 2009 07:28:07 +0000 (+0000) Subject: Fix of remark of issue 0019818: EDF 703 SMESH VISU : Display Mesh Groups names in... X-Git-Tag: V5_1_2rc2~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=eb732dc62ed7a735d5d0a23dd6ffa94c0619aac3;p=modules%2Fsmesh.git Fix of remark of issue 0019818: EDF 703 SMESH VISU : Display Mesh Groups names in viewer (as a caption) --- diff --git a/src/SMESHGUI/SMESHGUI_GroupDlg.cxx b/src/SMESHGUI/SMESHGUI_GroupDlg.cxx index dc98cd310..01e0f8195 100644 --- a/src/SMESHGUI/SMESHGUI_GroupDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_GroupDlg.cxx @@ -560,11 +560,11 @@ void SMESHGUI_GroupDlg::init (SMESH::SMESH_GroupBase_ptr theGroup, myGrpTypeGroup->button(grpType)->setChecked(true); onGrpTypeChanged(grpType); + myTypeId = aType; if ( grpType == 0 ) { myCurrentLineEdit = 0; myElements->clear(); setSelectionMode(aType); - myTypeId = aType; setShowEntityMode(); // depends on myTypeId