Fix a bug in OutlineListView::ItemUnderAt that made it pick totally wrong items when some things in the list were collapsed.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35361 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Adrien Destugues 2010-01-31 18:06:59 +00:00
parent e917a2404d
commit f3c8afe886
1 changed files with 1 additions and 1 deletions

View File

@ -725,7 +725,7 @@ BListItem*
BOutlineListView::ItemUnderAt(BListItem* underItem,
bool oneLevelOnly, int32 index) const
{
int32 i = IndexOf(underItem);
int32 i = FullListIndexOf(underItem);
if (i == -1)
return NULL;