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

index 59052bc9a1ce036dc37073fbe14146539fe049b0..277dd494b5b1c324f9f57cb8b486b5c14dfdd15b 100644 (file)
@@ -609,7 +609,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);
     }
   }