summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelteleporthistory.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-02-03 15:52:44 +0000
committerTofu Linden <tofu.linden@lindenlab.com>2010-02-03 15:52:44 +0000
commitfc70ca5403acdd99b2235dbf4e513a4dd806c850 (patch)
treed6889a962571a892f4bb1c0edfa12e188a3a96a7 /indra/newview/llpanelteleporthistory.cpp
parent8cbea388eaad8b40faa604f9d7fa2a64570548e2 (diff)
parentf7594c713d93f397440c4af2f566a33f1b6af099 (diff)
PE merge.
Diffstat (limited to 'indra/newview/llpanelteleporthistory.cpp')
-rw-r--r--indra/newview/llpanelteleporthistory.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llpanelteleporthistory.cpp b/indra/newview/llpanelteleporthistory.cpp
index 43e0f9a88c..90c8f2551f 100644
--- a/indra/newview/llpanelteleporthistory.cpp
+++ b/indra/newview/llpanelteleporthistory.cpp
@@ -940,6 +940,9 @@ bool LLTeleportHistoryPanel::onClearTeleportHistoryDialog(const LLSD& notificati
if (0 == option)
{
+ // order does matter, call this first or teleport history will contain one record(current location)
+ LLTeleportHistory::getInstance()->purgeItems();
+
LLTeleportHistoryStorage *th = LLTeleportHistoryStorage::getInstance();
th->purgeItems();
th->save();