From 83c03b5698af79184e0ddf138bd42aa8819bf1d8 Mon Sep 17 00:00:00 2001 From: Michael Lotz Date: Sun, 31 Jan 2010 02:28:29 +0000 Subject: [PATCH] Missed the re-insertion when exiting early after checking the sort order for a pose on a non-visible pose list which would cause poses to get lost from the unfiltered list. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35354 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/tracker/PoseView.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/kits/tracker/PoseView.cpp b/src/kits/tracker/PoseView.cpp index 9bf804c35f..11a20d2aa4 100644 --- a/src/kits/tracker/PoseView.cpp +++ b/src/kits/tracker/PoseView.cpp @@ -8580,8 +8580,10 @@ BPoseView::_CheckPoseSortOrder(PoseList *poseList, BPose *pose, int32 oldIndex) return; } - if (fFiltering && poseList != fFilteredPoseList) + if (fFiltering && poseList != fFilteredPoseList) { + poseList->AddItem(pose, newIndex); return; + } BRect invalidRect(CalcPoseRectList(pose, oldIndex)); CloseGapInList(&invalidRect);