summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llfloaterworldmap.cpp4
-rw-r--r--indra/newview/skins/default/xui/en/panel_hide_beacon.xml2
2 files changed, 4 insertions, 2 deletions
diff --git a/indra/newview/llfloaterworldmap.cpp b/indra/newview/llfloaterworldmap.cpp
index 3ec1e17bd8..2c84cd1f93 100644
--- a/indra/newview/llfloaterworldmap.cpp
+++ b/indra/newview/llfloaterworldmap.cpp
@@ -1689,8 +1689,10 @@ void LLPanelHideBeacon::draw()
{
if (!LLTracker::isTracking(NULL))
{
- return;
+ mHideButton->setVisible(false);
+ return;
}
+ mHideButton->setVisible(true);
updatePosition();
LLPanel::draw();
}
diff --git a/indra/newview/skins/default/xui/en/panel_hide_beacon.xml b/indra/newview/skins/default/xui/en/panel_hide_beacon.xml
index cb22719cef..7cab285f77 100644
--- a/indra/newview/skins/default/xui/en/panel_hide_beacon.xml
+++ b/indra/newview/skins/default/xui/en/panel_hide_beacon.xml
@@ -15,6 +15,6 @@
name="hide_beacon_btn"
tool_tip="Stop tracking and hide beacon"
top="2"
- visible="true"
+ visible="false"
width="113" />
</panel>