diff options
author | Todd Stinson <stinson@lindenlab.com> | 2012-03-06 13:45:24 -0800 |
---|---|---|
committer | Todd Stinson <stinson@lindenlab.com> | 2012-03-06 13:45:24 -0800 |
commit | a4e8ef3ad6f0a0d96d345fb3d4cdc1d57015fe6c (patch) | |
tree | 84e0f74771c8844aff9f97b43d55feecfa539dd9 | |
parent | e4537a06857589ee7dbae1199c7bbf2f639457ab (diff) |
Attempting to set the scroll position back to the original value on refresh.
-rw-r--r-- | indra/newview/llfloaterpathfindinglinksets.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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();
}
|