52566: TC7.5.0: Empty group of Balls at Diameter Equal to filter

Avoid unexpected switch "Equal to" -> "Less than"
This commit is contained in:
eap 2014-10-31 14:31:51 +03:00
parent e3e19dc2fa
commit 3f66560195

View File

@ -1954,7 +1954,10 @@ void SMESHGUI_FilterTable::onCriterionChanged (const int row, const int col, con
break; break;
} }
case 3: { case 3: {
int oldValue = aCompareItem->value();
aCompareItem->setItems(getCompare()); aCompareItem->setItems(getCompare());
if ( oldValue >= 0 )
aCompareItem->setValue( oldValue );
break; break;
} }
} }