From 3f66560195eeda497be96e1f44729cfc9c18354c Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 31 Oct 2014 14:31:51 +0300 Subject: [PATCH] 52566: TC7.5.0: Empty group of Balls at Diameter Equal to filter Avoid unexpected switch "Equal to" -> "Less than" --- src/SMESHGUI/SMESHGUI_FilterDlg.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/SMESHGUI/SMESHGUI_FilterDlg.cxx b/src/SMESHGUI/SMESHGUI_FilterDlg.cxx index 4dfa5268b..8db0a7814 100755 --- a/src/SMESHGUI/SMESHGUI_FilterDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_FilterDlg.cxx @@ -1954,7 +1954,10 @@ void SMESHGUI_FilterTable::onCriterionChanged (const int row, const int col, con break; } case 3: { + int oldValue = aCompareItem->value(); aCompareItem->setItems(getCompare()); + if ( oldValue >= 0 ) + aCompareItem->setValue( oldValue ); break; } } -- 2.39.2