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 2a1c5c49baafbee763edda14fe3ac4798f1028d1..4b33a586b5462396fb917097c7853be4b042fdcf 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 );