From 13f0f72acf6f67fde27cb626307a54be780b2d90 Mon Sep 17 00:00:00 2001
From: Aimee Linden <aimee@lindenlab.com>
Date: Thu, 15 Jul 2010 02:23:50 +0100
Subject: [PATCH] EXT-8325 (VWR-20161) FIXED Map button not enabled when Place
 Profile opened via a SLapp

Enables the Map button when Place Profiles are opened from SLapps in chat history, search etc.
---
 indra/newview/llpanelplaces.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/indra/newview/llpanelplaces.cpp b/indra/newview/llpanelplaces.cpp
index 705b196ef11..9b6ab9cb748 100644
--- a/indra/newview/llpanelplaces.cpp
+++ b/indra/newview/llpanelplaces.cpp
@@ -1089,6 +1089,8 @@ void LLPanelPlaces::updateVerbs()
 
 	if (is_place_info_visible)
 	{
+		mShowOnMapBtn->setEnabled(have_3d_pos);
+
 		if (is_agent_place_info_visible)
 		{
 			// We don't need to teleport to the current location
-- 
GitLab