INT PAL 0052683: Parameter "Color group" in the "Create Group" dialog box is empty (edited)

This commit is contained in:
imn 2015-04-17 15:10:40 +03:00
parent 2b109b99be
commit fd81210cda

View File

@ -1330,7 +1330,8 @@ void SMESHGUI_GroupDlg::onObjectSelectionChanged()
SetAppropriateActor(); SetAppropriateActor();
setDefaultGroupColor(); setDefaultGroupColor();
setDefaultName(); if (myName->text().isEmpty())
setDefaultName();
aString = aList.First()->getName(); aString = aList.First()->getName();
myMeshGroupLine->setText(aString); myMeshGroupLine->setText(aString);