diff options
author | Eugene Mutavchi <emutavchi@productengine.com> | 2010-01-14 21:34:55 +0200 |
---|---|---|
committer | Eugene Mutavchi <emutavchi@productengine.com> | 2010-01-14 21:34:55 +0200 |
commit | d11ab101ae515d7a6b2e096a66e8be30120f09c7 (patch) | |
tree | efbaa57127c10e46147f7dea0637a5c34e1f2e2c /indra/newview/llpanelteleporthistory.cpp | |
parent | 727d3c8f088bf3997985dd69eeb6ffc16bb98419 (diff) |
Related to EXT-4150 ([BSI] Last Landmark in Teleport History disables teleport button): fixed Teleport & Map buttons are enabled if nothing is selected
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llpanelteleporthistory.cpp')
-rw-r--r-- | indra/newview/llpanelteleporthistory.cpp | 3 |
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) |