Salome HOME
INT PAL 0052683: Parameter "Color group" in the "Create Group" dialog box is empty
authorimn <imn@opencascade.com>
Fri, 17 Apr 2015 07:51:37 +0000 (10:51 +0300)
committerimn <imn@opencascade.com>
Fri, 17 Apr 2015 07:51:37 +0000 (10:51 +0300)
src/SMESHGUI/SMESHGUI_GroupDlg.cxx

index 2a1c5c4..4b33a58 100644 (file)
@@ -1329,6 +1329,9 @@ void SMESHGUI_GroupDlg::onObjectSelectionChanged()
         // any visible actor of group or submesh of myMesh
         SetAppropriateActor();
 
+        setDefaultGroupColor();
+        setDefaultName();
+
         aString = aList.First()->getName();
         myMeshGroupLine->setText(aString);
         myMeshGroupLine->home( false );