Rescan the selection range after doing a swap.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24164 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -880,6 +880,7 @@ BOutlineListView::_SwapItems(int32 first, int32 second)
|
|||||||
_DoSwap(fList, firstIndex, secondIndex, firstCount, secondCount, index);
|
_DoSwap(fList, firstIndex, secondIndex, firstCount, secondCount, index);
|
||||||
|
|
||||||
_RecalcItemTops(firstIndex);
|
_RecalcItemTops(firstIndex);
|
||||||
|
_RescanSelection(firstIndex, secondIndex + secondCount);
|
||||||
Invalidate(Bounds());
|
Invalidate(Bounds());
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user