aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMcCabe Maxsted2010-09-16 23:58:52 -0700
committerMcCabe Maxsted2010-09-16 23:58:52 -0700
commitcf9eb8dbd7f1cd0125cd01b74351068dafaf9398 (patch)
tree2a4f84343d3fb6450bdb59b9d8bddf8ed343f927
parentAdded search bars for friends and groups lists, based on a feature in the Asc... (diff)
downloadmeta-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.cpp1
-rw-r--r--linden/indra/newview/llfloatergroups.cpp1
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 }