mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 02:10:35 +05:00
22408]: [CEA 996] Impossibility to filter Face with an Area criterion
This commit is contained in:
parent
25cf51c07e
commit
fb698074ae
@ -1936,7 +1936,6 @@ void SMESHGUI_FilterTable::onCriterionChanged (const int row, const int col, con
|
|||||||
DoubleSpinItem* dblSpin = new DoubleSpinItem( 0 );
|
DoubleSpinItem* dblSpin = new DoubleSpinItem( 0 );
|
||||||
dblSpin->setPrecision( aPrecision );
|
dblSpin->setPrecision( aPrecision );
|
||||||
aTable->setItem( row, 2, dblSpin );
|
aTable->setItem( row, 2, dblSpin );
|
||||||
nbCompareSigns = 3;
|
|
||||||
}
|
}
|
||||||
else // --------------------------------------------------------------QTableWidgetItem
|
else // --------------------------------------------------------------QTableWidgetItem
|
||||||
{
|
{
|
||||||
@ -1945,6 +1944,8 @@ void SMESHGUI_FilterTable::onCriterionChanged (const int row, const int col, con
|
|||||||
}
|
}
|
||||||
|
|
||||||
// set Compare
|
// set Compare
|
||||||
|
if ( anIsDoubleCriterion )
|
||||||
|
nbCompareSigns = 3;
|
||||||
if ( aCompareItem->count() != nbCompareSigns )
|
if ( aCompareItem->count() != nbCompareSigns )
|
||||||
{
|
{
|
||||||
switch ( nbCompareSigns ) {
|
switch ( nbCompareSigns ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user