From: imn Date: Fri, 17 Apr 2015 12:10:40 +0000 (+0300) Subject: INT PAL 0052683: Parameter "Color group" in the "Create Group" dialog box is empty... X-Git-Tag: V7_6_0rc1~33 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fd81210cdafee9f9efa8379c394d617a0637aa4c;p=modules%2Fsmesh.git INT PAL 0052683: Parameter "Color group" in the "Create Group" dialog box is empty (edited) --- 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);