Salome HOME
023046: EDF SMESH Regression: Field "Compare" in filters is not updated anymore
authoreap <eap@opencascade.com>
Wed, 15 Apr 2015 12:43:09 +0000 (15:43 +0300)
committereap <eap@opencascade.com>
Wed, 15 Apr 2015 12:43:09 +0000 (15:43 +0300)
src/SMESHGUI/SMESHGUI_FilterDlg.cxx

index c2f4bd6..0288e56 100755 (executable)
@@ -1824,9 +1824,9 @@ void SMESHGUI_FilterTable::onCriterionChanged (const int row, const int col, con
   case SMESH::FT_BelongToPlane:
   case SMESH::FT_BelongToCylinder:
   case SMESH::FT_BelongToGenSurface:
-  case SMESH::FT_LyingOnGeom: nbCompareSigns = 0; isThresholdEditable = true; break;
+  case SMESH::FT_LyingOnGeom: nbCompareSigns = 1; isThresholdEditable = true; break;
 
-  case SMESH::FT_RangeOfIds: nbCompareSigns = 0; isThresholdEditable = true; break;
+  case SMESH::FT_RangeOfIds: nbCompareSigns = 1; isThresholdEditable = true; break;
 
   case SMESH::FT_BadOrientedVolume:
   case SMESH::FT_BareBorderVolume: