Salome HOME
0020317: EDF SMESH 1004: "Edit group" changes the name of the group
authordmv <dmv@opencascade.com>
Fri, 17 Apr 2009 07:44:03 +0000 (07:44 +0000)
committerdmv <dmv@opencascade.com>
Fri, 17 Apr 2009 07:44:03 +0000 (07:44 +0000)
src/SMESHGUI/SMESHGUI_GroupDlg.cxx

index b7d2888..24246ee 100644 (file)
@@ -592,7 +592,7 @@ void SMESHGUI_GroupDlg::init (SMESH::SMESH_GroupBase_ptr theGroup,
     myGeomGroupLine->setText( aShapeName );
     myNameChanged = true;
     myName->blockSignals(true);
-    myName->setText( "Group On " + aShapeName);
+    myName->setText(theGroup->GetName());
     myName->blockSignals(false);
   }
   updateButtons();