]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Bug IPAL19470 - Qt4 porting. Orientation, Filter. Crash after selection Bad oriented...
authorouv <ouv@opencascade.com>
Wed, 9 Apr 2008 11:52:07 +0000 (11:52 +0000)
committerouv <ouv@opencascade.com>
Wed, 9 Apr 2008 11:52:07 +0000 (11:52 +0000)
src/SMESHGUI/SMESHGUI_FilterDlg.cxx

index 216edb91f432ef1cace41a95713e73c879692bce..4dadd0db55d212ba33f1af947b9c4256b51abecc 100755 (executable)
@@ -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 ||