Bug IPAL19470 - Qt4 porting. Orientation, Filter. Crash after selection Bad oriented volume and check Mesh

This commit is contained in:
ouv 2008-04-09 11:52:07 +00:00
parent c02e7e1caa
commit 135ff2be87

View File

@ -1283,9 +1283,14 @@ void SMESHGUI_FilterTable::onCriterionChanged (const int row, const int col, con
aType == SMESH::FACE && aCriterionType == SMESH::FT_FreeEdges ||
aType == SMESH::VOLUME && aCriterionType == SMESH::FT_BadOrientedVolume)
{
bool isSignalsBlocked = aTable->signalsBlocked();
aTable->blockSignals( true );
if (aCompareItem->count() > 0)
aCompareItem->clear();
aTable->setEditable(false, row, 2);
aTable->blockSignals( isSignalsBlocked );
}
else if (aCriterionType == SMESH::FT_RangeOfIds ||
aCriterionType == SMESH::FT_BelongToGeom ||