diff options
author | McCabe Maxsted | 2010-09-16 23:58:52 -0700 |
---|---|---|
committer | McCabe Maxsted | 2010-09-16 23:58:52 -0700 |
commit | cf9eb8dbd7f1cd0125cd01b74351068dafaf9398 (patch) | |
tree | 2a4f84343d3fb6450bdb59b9d8bddf8ed343f927 | |
parent | Added search bars for friends and groups lists, based on a feature in the Asc... (diff) | |
download | meta-impy-cf9eb8dbd7f1cd0125cd01b74351068dafaf9398.zip meta-impy-cf9eb8dbd7f1cd0125cd01b74351068dafaf9398.tar.gz meta-impy-cf9eb8dbd7f1cd0125cd01b74351068dafaf9398.tar.bz2 meta-impy-cf9eb8dbd7f1cd0125cd01b74351068dafaf9398.tar.xz |
Reset scroll position on search in contacts/groups lists
-rw-r--r-- | linden/indra/newview/llfloaterfriends.cpp | 1 | ||||
-rw-r--r-- | linden/indra/newview/llfloatergroups.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/linden/indra/newview/llfloaterfriends.cpp b/linden/indra/newview/llfloaterfriends.cpp index 479da89..a151a33 100644 --- a/linden/indra/newview/llfloaterfriends.cpp +++ b/linden/indra/newview/llfloaterfriends.cpp | |||
@@ -217,6 +217,7 @@ void LLPanelFriends::filterContacts(const std::string& search_string) | |||
217 | } | 217 | } |
218 | } | 218 | } |
219 | } | 219 | } |
220 | mFriendsList->setScrollPos(0); | ||
220 | refreshUI(); | 221 | refreshUI(); |
221 | } | 222 | } |
222 | 223 | ||
diff --git a/linden/indra/newview/llfloatergroups.cpp b/linden/indra/newview/llfloatergroups.cpp index b3fbb1b..c89e066 100644 --- a/linden/indra/newview/llfloatergroups.cpp +++ b/linden/indra/newview/llfloatergroups.cpp | |||
@@ -649,6 +649,7 @@ void LLPanelGroups::filterContacts(const std::string& search_string) | |||
649 | group_list->deleteItems((*itr)->getValue()); | 649 | group_list->deleteItems((*itr)->getValue()); |
650 | } | 650 | } |
651 | } | 651 | } |
652 | group_list->setScrollPos(0); | ||
652 | enableButtons(); | 653 | enableButtons(); |
653 | } | 654 | } |
654 | } | 655 | } |