summaryrefslogtreecommitdiff
path: root/indra/llui/llflatlistview.cpp
diff options
context:
space:
mode:
authorPalmer <palmer@lindenlab.com>2009-12-08 10:00:32 -0800
committerPalmer <palmer@lindenlab.com>2009-12-08 10:00:32 -0800
commit74f2cb2a70ddad7fe8819fd6855831e0615dc8d5 (patch)
tree61f2ce7a6cfb5963b7517a582164047a6833757b /indra/llui/llflatlistview.cpp
parentcd138869d5bfcf40d3d13d7b887e36263e2919d9 (diff)
parente07ef0d0e0e8cbd58afd4c6ee970634bd2f783e7 (diff)
Grabbed more viewer 2 changes that should fix parabuild problem
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