Salome HOME
52566: TC7.5.0: Empty group of Balls at Diameter Equal to filter
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_FilterDlg.cxx
index 4dfa5268b9de3e361e5180713fb853a541af1737..8db0a78141b2dac70528ed0d9926c16e7c5537e5 100755 (executable)
@@ -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;
     }
     }