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
This commit is contained in:
Michael Lotz 2010-01-31 02:28:29 +00:00
parent 005e1e3073
commit 83c03b5698

View File

@ -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);