Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25cf51c
)
22408]: [CEA 996] Impossibility to filter Face with an Area criterion
author
eap
<eap@opencascade.com>
Fri, 15 Nov 2013 15:16:54 +0000
(15:16 +0000)
committer
eap
<eap@opencascade.com>
Fri, 15 Nov 2013 15:16:54 +0000
(15:16 +0000)
src/SMESHGUI/SMESHGUI_FilterDlg.cxx
patch
|
blob
|
history
diff --git
a/src/SMESHGUI/SMESHGUI_FilterDlg.cxx
b/src/SMESHGUI/SMESHGUI_FilterDlg.cxx
index 375efe739405b54ce533eef55cc62adc56413ac1..3ffd0419bf4d0c124edf92abc76d61980ead5c5e 100755
(executable)
--- 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 ) {