X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_FilterDlg.cxx;h=3ffd0419bf4d0c124edf92abc76d61980ead5c5e;hb=0eac807ec151becae655c3c3791c2ef5ed118ca7;hp=1a2eab82e38827bf6eb5ca7323c20ef135714183;hpb=fda116565e80126f590175c72c859516826f0a63;p=modules%2Fsmesh.git diff --git a/src/SMESHGUI/SMESHGUI_FilterDlg.cxx b/src/SMESHGUI/SMESHGUI_FilterDlg.cxx index 1a2eab82e..3ffd0419b 100755 --- a/src/SMESHGUI/SMESHGUI_FilterDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_FilterDlg.cxx @@ -51,6 +51,7 @@ #include #include #include +#include #include #include @@ -1609,6 +1610,7 @@ const char* SMESHGUI_FilterTable::getPrecision( const int aType ) case SMESH::FT_Length2D: case SMESH::FT_MaxElementLength2D: case SMESH::FT_MaxElementLength3D: + case SMESH::FT_BallDiameter: retval = "length_precision"; break; case SMESH::FT_Volume3D: retval = "vol_precision"; break; @@ -1800,7 +1802,7 @@ void SMESHGUI_FilterTable::onCriterionChanged (const int row, const int col, con case SMESH::FT_Volume3D: case SMESH::FT_MaxElementLength2D: case SMESH::FT_MaxElementLength3D: - anIsDoubleCriterion = true; nbCompareSigns = 3; break; + anIsDoubleCriterion = true; break; case SMESH::FT_FreeBorders: case SMESH::FT_FreeEdges: @@ -1942,6 +1944,8 @@ void SMESHGUI_FilterTable::onCriterionChanged (const int row, const int col, con } // set Compare + if ( anIsDoubleCriterion ) + nbCompareSigns = 3; if ( aCompareItem->count() != nbCompareSigns ) { switch ( nbCompareSigns ) { @@ -3268,6 +3272,7 @@ bool SMESHGUI_FilterDlg::onApply() if (!isValid()) return false; + SUIT_OverrideCursor wc; try { int aCurrType = myTable->GetType();