From: eap Date: Fri, 15 Nov 2013 15:16:54 +0000 (+0000) Subject: 22408]: [CEA 996] Impossibility to filter Face with an Area criterion X-Git-Tag: V7_3_0a1~53 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fb698074ae763c4cf318dfa13501bb496594cfd3;p=modules%2Fsmesh.git 22408]: [CEA 996] Impossibility to filter Face with an Area criterion --- diff --git a/src/SMESHGUI/SMESHGUI_FilterDlg.cxx b/src/SMESHGUI/SMESHGUI_FilterDlg.cxx index 375efe739..3ffd0419b 100755 --- a/src/SMESHGUI/SMESHGUI_FilterDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_FilterDlg.cxx @@ -1936,7 +1936,6 @@ void SMESHGUI_FilterTable::onCriterionChanged (const int row, const int col, con DoubleSpinItem* dblSpin = new DoubleSpinItem( 0 ); dblSpin->setPrecision( aPrecision ); aTable->setItem( row, 2, dblSpin ); - nbCompareSigns = 3; } else // --------------------------------------------------------------QTableWidgetItem { @@ -1945,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 ) {