Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fd96fea
)
INT PAL 0052873: IDs are not updated
author
imn
<imn@opencascade.com>
Wed, 23 Sep 2015 15:14:03 +0000
(18:14 +0300)
committer
imn
<imn@opencascade.com>
Wed, 23 Sep 2015 15:14:03 +0000
(18:14 +0300)
src/SMESHGUI/SMESHGUI_FilterDlg.cxx
patch
|
blob
|
history
diff --git
a/src/SMESHGUI/SMESHGUI_FilterDlg.cxx
b/src/SMESHGUI/SMESHGUI_FilterDlg.cxx
index 3a3e8e81c9027ae0fb81348706175a045eee5b0b..76f50ada4af8fe02c24d93084e3cb862297ba097 100755
(executable)
--- 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);
}
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<int>& th
// insert previously stored filter in viewer if necessary
if (!aFilter.IsNull())
SMESH::SetFilter(aFilter);
// 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);
}
//=======================================================================
}
//=======================================================================