]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
52566: TC7.5.0: Empty group of Balls at Diameter Equal to filter
authoreap <eap@opencascade.com>
Fri, 31 Oct 2014 11:31:51 +0000 (14:31 +0300)
committereap <eap@opencascade.com>
Fri, 31 Oct 2014 11:31:51 +0000 (14:31 +0300)
 Avoid unexpected switch "Equal to" -> "Less than"

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