Fix for bug IPAL12088.

This commit is contained in:
mzn 2006-04-12 08:49:00 +00:00
parent 1b7af775cb
commit 368c7752ed

View 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);
}