diff --git a/src/SMESHGUI/SMESHGUI_GroupDlg.cxx b/src/SMESHGUI/SMESHGUI_GroupDlg.cxx index eac52ffe4..45cc20e6b 100644 --- a/src/SMESHGUI/SMESHGUI_GroupDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_GroupDlg.cxx @@ -1113,7 +1113,7 @@ bool SMESHGUI_GroupDlg::onApply() } else { - myGroup->SetName(myName->text().toLatin1().data()); + resultGroup->SetName(myName->text().toLatin1().data()); if ( aMeshGroupSO ) if(SMESH_Actor *anActor = SMESH::FindActorByEntry(aMeshGroupSO->GetID().c_str())) {