From: eap Date: Fri, 31 Oct 2014 11:31:51 +0000 (+0300) Subject: 52566: TC7.5.0: Empty group of Balls at Diameter Equal to filter X-Git-Tag: V7_5_0b1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3f66560195eeda497be96e1f44729cfc9c18354c;p=modules%2Fsmesh.git 52566: TC7.5.0: Empty group of Balls at Diameter Equal to filter Avoid unexpected switch "Equal to" -> "Less than" --- 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; } }