From: mzn Date: Wed, 12 Apr 2006 08:49:00 +0000 (+0000) Subject: Fix for bug IPAL12088. X-Git-Tag: T3_2_0b1_pre1~30 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=368c7752edcfae822c1dab75c92cce201a1ca57e;p=modules%2Fsmesh.git Fix for bug IPAL12088. --- diff --git a/src/SMESHGUI/SMESHGUI_GroupDlg.cxx b/src/SMESHGUI/SMESHGUI_GroupDlg.cxx index 90906b5fb..3f83a3ea6 100644 --- a/src/SMESHGUI/SMESHGUI_GroupDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_GroupDlg.cxx @@ -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); }