summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterworldmap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llfloaterworldmap.cpp')
-rw-r--r--indra/newview/llfloaterworldmap.cpp4
1 files changed, 3 insertions, 1 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();
}