Fix another omitted instance of anchor updating.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31891 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -418,6 +418,7 @@ BListView::KeyDown(const char *bytes, int32 numBytes)
|
||||
if (fFirstSelected == -1) {
|
||||
// if nothing is selected yet, always select the first item
|
||||
Select(0);
|
||||
fAnchorIndex = 0;
|
||||
} else {
|
||||
bool extend = false;
|
||||
if (fListType == B_MULTIPLE_SELECTION_LIST
|
||||
@@ -441,6 +442,7 @@ BListView::KeyDown(const char *bytes, int32 numBytes)
|
||||
if (fFirstSelected == -1) {
|
||||
// if nothing is selected yet, always select the first item
|
||||
Select(0);
|
||||
fAnchorIndex = 0;
|
||||
} else {
|
||||
bool extend = false;
|
||||
if (fListType == B_MULTIPLE_SELECTION_LIST
|
||||
|
||||
Reference in New Issue
Block a user