OutlineListView: yet another list/fullList mismatch.

Fixes #5817.
This commit is contained in:
Adrien Destugues 2014-11-26 13:48:52 +01:00
parent 83b732c732
commit 42272d2342
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ BOutlineListView::KeyDown(const char* bytes, int32 numBytes)
{
BListItem* item = ItemAt(currentSel);
if (item && item->fHasSubitems) {
if (!IsExpanded(currentSel))
if (!item->IsExpanded())
Expand(item);
else
Select(currentSel + 1);