From 368c7752edcfae822c1dab75c92cce201a1ca57e Mon Sep 17 00:00:00 2001 From: mzn Date: Wed, 12 Apr 2006 08:49:00 +0000 Subject: [PATCH] Fix for bug IPAL12088. --- src/SMESHGUI/SMESHGUI_GroupDlg.cxx | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) 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); } -- 2.39.2