[haiku-commits] haiku: hrev44523 - src/kits/tracker

  • From: stpere@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 12 Aug 2012 22:35:12 +0200 (CEST)

hrev44523 adds 1 changeset to branch 'master'
old head: ebe79dfe77ac0393c6d222e3a8d3b2d20f601aa3
new head: 7ad72ef6eae1ad8a2ec03043055ca0e649b11f80

----------------------------------------------------------------------------

7ad72ef: PoseView: avoid duplication of poses
  
  When filtered, clear the FilteredPoseList before re-filling it.
  
  Fixes #8875.

                                [ Philippe Saint-Pierre <stpere@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev44523
Commit:      7ad72ef6eae1ad8a2ec03043055ca0e649b11f80
URL:         http://cgit.haiku-os.org/haiku/commit/?id=7ad72ef
Author:      Philippe Saint-Pierre <stpere@xxxxxxxxx>
Date:        Sun Aug 12 20:31:54 2012 UTC

Ticket:      https://dev.haiku-os.org/ticket/8875

----------------------------------------------------------------------------

1 file changed, 1 insertion(+)
src/kits/tracker/PoseView.cpp |    1 +

----------------------------------------------------------------------------

diff --git a/src/kits/tracker/PoseView.cpp b/src/kits/tracker/PoseView.cpp
index e98c5c8..3082040 100644
--- a/src/kits/tracker/PoseView.cpp
+++ b/src/kits/tracker/PoseView.cpp
@@ -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();
        }


Other related posts: