]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Fix of remark of issue 0019818: EDF 703 SMESH VISU : Display Mesh Groups names in...
authorouv <ouv@opencascade.com>
Fri, 5 Jun 2009 07:28:07 +0000 (07:28 +0000)
committerouv <ouv@opencascade.com>
Fri, 5 Jun 2009 07:28:07 +0000 (07:28 +0000)
src/SMESHGUI/SMESHGUI_GroupDlg.cxx

index dc98cd310e49ac380eba41e0c371e4c8dc51c9e8..01e0f81950bd932f33150d60a6ab3b5de70b7e45 100644 (file)
@@ -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