From a4e8ef3ad6f0a0d96d345fb3d4cdc1d57015fe6c Mon Sep 17 00:00:00 2001 From: Todd Stinson Date: Tue, 6 Mar 2012 13:45:24 -0800 Subject: Attempting to set the scroll position back to the original value on refresh. --- indra/newview/llfloaterpathfindinglinksets.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/indra/newview/llfloaterpathfindinglinksets.cpp b/indra/newview/llfloaterpathfindinglinksets.cpp index 27047b4fd9..f17cd3c6b8 100644 --- a/indra/newview/llfloaterpathfindinglinksets.cpp +++ b/indra/newview/llfloaterpathfindinglinksets.cpp @@ -685,6 +685,7 @@ void LLFloaterPathfindingLinksets::updateScrollList() } } + S32 origScrollPosition = mLinksetsScrollList->getScrollPos(); mLinksetsScrollList->deleteAllItems(); if (mLinksetsListPtr != NULL) @@ -732,6 +733,7 @@ void LLFloaterPathfindingLinksets::updateScrollList() } mLinksetsScrollList->selectMultiple(selectedUUIDs); + mLinksetsScrollList->setScrollPos(origScrollPosition); updateEditFieldValues(); updateControls(); } -- cgit v1.2.3