BListView: small optimization.

We already got item at index, don’t get it again
This commit is contained in:
John Scipione
2013-12-23 05:03:40 -05:00
parent d093101215
commit b38f03f561
+1 -1
View File
@@ -1512,7 +1512,7 @@ BListView::_Select(int32 index, bool extend)
fLastSelected = index;
}
ItemAt(index)->Select();
item->Select();
if (Window() != NULL)
InvalidateItem(index);