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:
Rene Gollent
2009-07-29 02:07:03 +00:00
parent 7155254d3f
commit 490563379e
+2
View File
@@ -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