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 b7d28889e9d0ac3715a6e3ae1935cb84b67c545f..24246eec6491fef2abead7bca158318204ba99af 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();