From: imn Date: Wed, 23 Sep 2015 15:14:03 +0000 (+0300) Subject: INT PAL 0052873: IDs are not updated X-Git-Tag: V7_7_0_WIN~17 X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=commitdiff_plain;h=c2037920d01df98a73df98df8a2b234babe1106c;hp=fd96feab4b58b9ebe8706e44b35006e0122d682e INT PAL 0052873: IDs are not updated --- diff --git a/src/SMESHGUI/SMESHGUI_FilterDlg.cxx b/src/SMESHGUI/SMESHGUI_FilterDlg.cxx index 3a3e8e81c..76f50ada4 100755 --- a/src/SMESHGUI/SMESHGUI_FilterDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_FilterDlg.cxx @@ -3547,9 +3547,6 @@ void SMESHGUI_FilterDlg::filterSource (const int theType, if (aPred->IsSatisfy(*anIter)) theResIds.append(*anIter); } - // set ids to the dialog - if (myInitSourceWgOnApply || aSourceId == Dialog) - setIdsToWg(mySourceWg, theResIds); } //======================================================================= @@ -3678,6 +3675,10 @@ void SMESHGUI_FilterDlg::selectInViewer (const int theType, const QList& th // insert previously stored filter in viewer if necessary if (!aFilter.IsNull()) SMESH::SetFilter(aFilter); + + // set ids to the dialog + if (myInitSourceWgOnApply || mySourceGrp->checkedId() == Dialog) + setIdsToWg(mySourceWg, theIds); } //=======================================================================