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:
parent
e917a2404d
commit
f3c8afe886
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue