Salome HOME
INT PAL 0052683: Parameter "Color group" in the "Create Group" dialog box is empty...
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_GroupDlg.cxx
index 4b33a586b5462396fb917097c7853be4b042fdcf..c0dcd49d338459546727b1266f03784931eac334 100644 (file)
@@ -1330,7 +1330,8 @@ void SMESHGUI_GroupDlg::onObjectSelectionChanged()
         SetAppropriateActor();
 
         setDefaultGroupColor();
-        setDefaultName();
+        if (myName->text().isEmpty())
+          setDefaultName();
 
         aString = aList.First()->getName();
         myMeshGroupLine->setText(aString);