diff options
author | Yuri Chebotarev <ychebotarev@productengine.com> | 2010-06-10 17:21:11 +0300 |
---|---|---|
committer | Yuri Chebotarev <ychebotarev@productengine.com> | 2010-06-10 17:21:11 +0300 |
commit | a797948a18d3f09244348526852524527f3f8e27 (patch) | |
tree | 7531629b93a27e09e00cb4539385564566a48a08 /indra/newview/llpanellandmarks.cpp | |
parent | 591aa0d5be809a8ce0ba314493a9c3a8dfee8b9b (diff) | |
parent | ac9543be9eb6e3c4b929142d0d2758ebf1885ac8 (diff) |
merge
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llpanellandmarks.cpp')
-rw-r--r-- | indra/newview/llpanellandmarks.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpanellandmarks.cpp b/indra/newview/llpanellandmarks.cpp index 7fb46fc84f..ce1131f45c 100644 --- a/indra/newview/llpanellandmarks.cpp +++ b/indra/newview/llpanellandmarks.cpp @@ -334,7 +334,7 @@ void LLLandmarksPanel::updateVerbs() bool landmark_selected = isLandmarkSelected(); mTeleportBtn->setEnabled(landmark_selected && isActionEnabled("teleport")); mShowProfile->setEnabled(landmark_selected && isActionEnabled("more_info")); - mShowOnMapBtn->setEnabled(true); + mShowOnMapBtn->setEnabled(landmark_selected && isActionEnabled("show_on_map")); // TODO: mantipov: Uncomment when mShareBtn is supported // Share button should be enabled when neither a folder nor a landmark is selected |