diff options
author | James Cook <james@lindenlab.com> | 2009-07-27 16:50:01 +0000 |
---|---|---|
committer | James Cook <james@lindenlab.com> | 2009-07-27 16:50:01 +0000 |
commit | ca51e8f33dfa0cd455438f11902fb1d839bf6206 (patch) | |
tree | 0e261edeab3e2e3f53a1f3ab825aa76906fff152 /indra/newview/llteleporthistory.cpp | |
parent | f5ba6df4c2dc5a5e0842ed028dd4de01406dca3b (diff) |
Merge xui-army-8 to pick up 2+ weeks of art, colors, and dialog layout changes.
svn merge -r128075:128364 svn+ssh://svn.lindenlab.com/svn/linden/branches/skinning/xui-army-8
Diffstat (limited to 'indra/newview/llteleporthistory.cpp')
-rw-r--r-- | indra/newview/llteleporthistory.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llteleporthistory.cpp b/indra/newview/llteleporthistory.cpp index 99389017cb..9754568f56 100644 --- a/indra/newview/llteleporthistory.cpp +++ b/indra/newview/llteleporthistory.cpp @@ -172,6 +172,14 @@ void LLTeleportHistory::onHistoryChanged() mHistoryChangedSignal(); } +void LLTeleportHistory::purgeItems() +{ + mItems.erase(mItems.begin(), mItems.end()-1); + // reset the count + mRequestedItem = -1; + mCurrentItem = 0; +} + // static std::string LLTeleportHistory::getCurrentLocationTitle() { |