X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_GroupDlg.cxx;h=c0dcd49d338459546727b1266f03784931eac334;hb=df9cc07c95bbe75654ed43634939a133ccebe2f6;hp=4b33a586b5462396fb917097c7853be4b042fdcf;hpb=38a77c4a9810f4715212368ac53315689ba9150f;p=modules%2Fsmesh.git diff --git a/src/SMESHGUI/SMESHGUI_GroupDlg.cxx b/src/SMESHGUI/SMESHGUI_GroupDlg.cxx index 4b33a586b..c0dcd49d3 100644 --- a/src/SMESHGUI/SMESHGUI_GroupDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_GroupDlg.cxx @@ -1330,7 +1330,8 @@ void SMESHGUI_GroupDlg::onObjectSelectionChanged() SetAppropriateActor(); setDefaultGroupColor(); - setDefaultName(); + if (myName->text().isEmpty()) + setDefaultName(); aString = aList.First()->getName(); myMeshGroupLine->setText(aString);