PoseView: avoid duplication of poses

When filtered, clear the FilteredPoseList before re-filling it.

Fixes #8875.
This commit is contained in:
Philippe Saint-Pierre 2012-08-12 16:31:54 -04:00
parent ebe79dfe77
commit 7ad72ef6ea

View File

@ -2735,6 +2735,7 @@ BPoseView::AddColumn(BColumn* newColumn, const BColumn* after)
if (fFiltering) {
// the column we added might just add new poses to be showed
fFilteredPoseList->MakeEmpty();
fFiltering = false;
StartFiltering();
}