From 135ff2be8735de03735d05819ca97e5930ccb7d2 Mon Sep 17 00:00:00 2001 From: ouv Date: Wed, 9 Apr 2008 11:52:07 +0000 Subject: [PATCH] Bug IPAL19470 - Qt4 porting. Orientation, Filter. Crash after selection Bad oriented volume and check Mesh --- src/SMESHGUI/SMESHGUI_FilterDlg.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/SMESHGUI/SMESHGUI_FilterDlg.cxx b/src/SMESHGUI/SMESHGUI_FilterDlg.cxx index 216edb91f..4dadd0db5 100755 --- a/src/SMESHGUI/SMESHGUI_FilterDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_FilterDlg.cxx @@ -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 || -- 2.39.2