mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
0021517: Bad filter dumped when hdf study from previous version of Salome is loaded
set "Compare" to FT_EqualTo instead of FT_Undefined
This commit is contained in:
parent
ddec989c2f
commit
f932a6abb6
@ -1282,7 +1282,10 @@ void SMESHGUI_FilterTable::SetCriterion (const int theRow,
|
||||
|
||||
((ComboItem*)aTable->item(theRow, 0))->setValue(theCriterion.Type);
|
||||
onCriterionChanged(theRow, 0, aType);
|
||||
((ComboItem*)aTable->item(theRow, 1))->setValue(theCriterion.Compare);
|
||||
if ( theCriterion.Compare == SMESH::FT_Undefined )
|
||||
((ComboItem*)aTable->item(theRow, 1))->setValue( SMESH::FT_EqualTo );
|
||||
else
|
||||
((ComboItem*)aTable->item(theRow, 1))->setValue(theCriterion.Compare);
|
||||
((CheckItem*)aTable->item(theRow, 3))->setChecked(theCriterion.UnaryOp == SMESH::FT_LogicalNOT);
|
||||
|
||||
if (theCriterion.BinaryOp != SMESH::FT_Undefined)
|
||||
|
Loading…
Reference in New Issue
Block a user