Attempting to set the scroll position back to the original value on refresh.
parent
e4537a0685
commit
a4e8ef3ad6
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue