BListView: small optimization.
We already got item at index, don’t get it again
This commit is contained in:
parent
d093101215
commit
b38f03f561
@ -1512,7 +1512,7 @@ BListView::_Select(int32 index, bool extend)
|
||||
fLastSelected = index;
|
||||
}
|
||||
|
||||
ItemAt(index)->Select();
|
||||
item->Select();
|
||||
if (Window() != NULL)
|
||||
InvalidateItem(index);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user