summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelteleporthistory.cpp
diff options
context:
space:
mode:
authorMark Palange (Mani) <palange@lindenlab.com>2010-02-05 10:10:27 -0800
committerMark Palange (Mani) <palange@lindenlab.com>2010-02-05 10:10:27 -0800
commit3c9daac7afeeb31d2feabde59183a2e005a30d7f (patch)
tree62c58ae3478f4763660687a59ca77491a604e1fa /indra/newview/llpanelteleporthistory.cpp
parente00082c644d201291a4f9243f915fc09c320eaa7 (diff)
parentfed6c9eb0fa58559c13729b65ecee181f58f3c69 (diff)
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();