summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelteleporthistory.cpp
diff options
context:
space:
mode:
authorCallum Prentice <callum@lindenlab.com>2010-01-15 13:27:25 -0800
committerCallum Prentice <callum@lindenlab.com>2010-01-15 13:27:25 -0800
commit7590704e0e93b48f897c47dba07916efebd95274 (patch)
treee38f863dc5a72bc078d362a9fee214e018d0ca05 /indra/newview/llpanelteleporthistory.cpp
parent940e070326e920b6314c7153f687d9985ad763ed (diff)
parent7efc0fbb4fd912d59a38a4d5653f1dc12c3876b1 (diff)
Merge with Tip
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 0a2217fc51..571745ee02 100644
--- a/indra/newview/llpanelteleporthistory.cpp
+++ b/indra/newview/llpanelteleporthistory.cpp
@@ -723,7 +723,10 @@ void LLTeleportHistoryPanel::onTeleportHistoryChange(S32 removed_index)
if (-1 == removed_index)
showTeleportHistory(); // recreate all items
else
+ {
replaceItem(removed_index); // replace removed item by most recent
+ updateVerbs();
+ }
}
void LLTeleportHistoryPanel::replaceItem(S32 removed_index)