summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterpathfindinglinksets.cpp
diff options
context:
space:
mode:
authorTodd Stinson <stinson@lindenlab.com>2012-03-06 13:45:24 -0800
committerTodd Stinson <stinson@lindenlab.com>2012-03-06 13:45:24 -0800
commita4e8ef3ad6f0a0d96d345fb3d4cdc1d57015fe6c (patch)
tree84e0f74771c8844aff9f97b43d55feecfa539dd9 /indra/newview/llfloaterpathfindinglinksets.cpp
parente4537a06857589ee7dbae1199c7bbf2f639457ab (diff)
Attempting to set the scroll position back to the original value on refresh.
Diffstat (limited to 'indra/newview/llfloaterpathfindinglinksets.cpp')
-rw-r--r--indra/newview/llfloaterpathfindinglinksets.cpp2
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();
}