From: ouv Date: Wed, 9 Apr 2008 11:52:07 +0000 (+0000) Subject: Bug IPAL19470 - Qt4 porting. Orientation, Filter. Crash after selection Bad oriented... X-Git-Tag: V5_0_0~18 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=135ff2be8735de03735d05819ca97e5930ccb7d2;p=modules%2Fsmesh.git Bug IPAL19470 - Qt4 porting. Orientation, Filter. Crash after selection Bad oriented volume and check Mesh --- 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 ||