From 490563379ebd8549224a264bc09e7486a697fa3a Mon Sep 17 00:00:00 2001 From: Rene Gollent Date: Wed, 29 Jul 2009 02:07:03 +0000 Subject: [PATCH] Fix another omitted instance of anchor updating. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31891 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/interface/ListView.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/kits/interface/ListView.cpp b/src/kits/interface/ListView.cpp index 057c13acf5..d89b27a3b5 100644 --- a/src/kits/interface/ListView.cpp +++ b/src/kits/interface/ListView.cpp @@ -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