summaryrefslogtreecommitdiff
path: root/indra/llui/llflatlistview.cpp
diff options
context:
space:
mode:
authorSteve Bennetts <steve@lindenlab.com>2009-12-07 17:09:19 -0800
committerSteve Bennetts <steve@lindenlab.com>2009-12-07 17:09:19 -0800
commit5c2686bc6323cb162d9b3e4effa6a8d34fb95836 (patch)
tree8162047cfafa9027dbcdc03597f8a0a2ad92c9ee /indra/llui/llflatlistview.cpp
parentb65334a4c133984fed9466db60df92756e8de05d (diff)
parent5245fb69721bf4b70de85211da6721b0e0137e07 (diff)
Merge
Diffstat (limited to 'indra/llui/llflatlistview.cpp')
-rw-r--r--indra/llui/llflatlistview.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/llui/llflatlistview.cpp b/indra/llui/llflatlistview.cpp
index d4c3cfb7b6..831ac66d06 100644
--- a/indra/llui/llflatlistview.cpp
+++ b/indra/llui/llflatlistview.cpp
@@ -932,7 +932,7 @@ void LLFlatListView::onFocusLost()
}
//virtual
-void LLFlatListView::notify(const LLSD& info)
+S32 LLFlatListView::notify(const LLSD& info)
{
if(info.has("action"))
{
@@ -941,13 +941,16 @@ void LLFlatListView::notify(const LLSD& info)
{
setFocus(true);
selectFirstItem();
+ return 1;
}
else if(str_action == "select_last")
{
setFocus(true);
selectLastItem();
+ return 1;
}
}
+ return 0;
}
//EOF