From: skl Date: Thu, 27 Jul 2006 11:16:54 +0000 (+0000) Subject: Correction for bug IPAL12631. X-Git-Tag: For_OCT_611~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fba89e60bcc63a37e5dfcc6e439c39d9a4dcb528;p=modules%2Fsmesh.git Correction for bug IPAL12631. --- diff --git a/src/SMESHGUI/SMESHGUI_FilterDlg.cxx b/src/SMESHGUI/SMESHGUI_FilterDlg.cxx index 2f5f92d14..b4b23b381 100755 --- a/src/SMESHGUI/SMESHGUI_FilterDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_FilterDlg.cxx @@ -2289,9 +2289,11 @@ void SMESHGUI_FilterDlg::insertFilterInViewer() myFilter[ myTable->GetType() ]->GetPredicate()->_is_nil() || !mySetInViewer->isChecked()) { SMESH::RemoveFilter(getFilterId(anEntType), aSelector); - } else { + } + else { Handle(SMESHGUI_PredicateFilter) aFilter = new SMESHGUI_PredicateFilter(); aFilter->SetPredicate(myFilter[ myTable->GetType() ]->GetPredicate()); + SMESH::RemoveFilter(getFilterId(anEntType), aSelector); //skl for IPAL12631 SMESH::SetFilter(aFilter, aSelector); } }