]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Fix for bug IPAL12088.
authormzn <mzn@opencascade.com>
Wed, 12 Apr 2006 08:49:00 +0000 (08:49 +0000)
committermzn <mzn@opencascade.com>
Wed, 12 Apr 2006 08:49:00 +0000 (08:49 +0000)
src/SMESHGUI/SMESHGUI_GroupDlg.cxx

index 90906b5fb14b77ba1ac9bfb70aae871caf8ca6b0..3f83a3ea610a6c0cd07773931b4bfaf8f7cafbeb 100644 (file)
@@ -1116,15 +1116,9 @@ void SMESHGUI_GroupDlg::onSelectGeomGroup(bool on)
 //=================================================================================
 void SMESHGUI_GroupDlg::onSelectColorGroup(bool on)
 {
-  if (on) {
-    setSelectionMode(7);
-  }
-  else {
+  if (!on)
     myColorSpinBox->setValue(0);
-    myCurrentLineEdit = 0;
-    if (myTypeId != -1)
-      setSelectionMode(myTypeId);
-  }
+  
   myColorSpinBox->setEnabled(on);
 }