From a61c8d2272ee709595655024d57a41bfa1ed5354 Mon Sep 17 00:00:00 2001 From: Vladimir Pchelko Date: Thu, 10 Jun 2010 13:16:54 +0300 Subject: EXT-7608 FIXED TeleportHistory and Landmarks panels now sets "enable" for "Map" bottom according to Design Spec. reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/546/ --HG-- branch : product-engine --- indra/newview/llpanelteleporthistory.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'indra/newview/llpanelteleporthistory.cpp') diff --git a/indra/newview/llpanelteleporthistory.cpp b/indra/newview/llpanelteleporthistory.cpp index e8b6c6bfe5..494cba8c6f 100644 --- a/indra/newview/llpanelteleporthistory.cpp +++ b/indra/newview/llpanelteleporthistory.cpp @@ -564,6 +564,7 @@ void LLTeleportHistoryPanel::updateVerbs() { mTeleportBtn->setEnabled(false); mShowProfile->setEnabled(false); + mShowOnMapBtn->setEnabled(false); return; } @@ -571,7 +572,7 @@ void LLTeleportHistoryPanel::updateVerbs() mTeleportBtn->setEnabled(NULL != itemp); mShowProfile->setEnabled(NULL != itemp); - mShowOnMapBtn->setEnabled(true); + mShowOnMapBtn->setEnabled(NULL != itemp); } void LLTeleportHistoryPanel::getNextTab(const LLDate& item_date, S32& tab_idx, LLDate& tab_date) -- cgit v1.2.3