diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llpanelplace.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/linden/indra/newview/llpanelplace.cpp b/linden/indra/newview/llpanelplace.cpp index 8825ce7..a05f712 100644 --- a/linden/indra/newview/llpanelplace.cpp +++ b/linden/indra/newview/llpanelplace.cpp | |||
@@ -390,13 +390,6 @@ void LLPanelPlace::onClickTeleport(void* data) | |||
390 | void LLPanelPlace::onClickMap(void* data) | 390 | void LLPanelPlace::onClickMap(void* data) |
391 | { | 391 | { |
392 | LLPanelPlace* self = (LLPanelPlace*)data; | 392 | LLPanelPlace* self = (LLPanelPlace*)data; |
393 | LLView* parent_viewp = self->getParent(); | ||
394 | if (parent_viewp->getWidgetType() == WIDGET_TYPE_FLOATER) | ||
395 | { | ||
396 | LLFloater* parent_floaterp = (LLFloater*)parent_viewp; | ||
397 | parent_floaterp->close(); | ||
398 | } | ||
399 | |||
400 | if (!self->mPosGlobal.isExactlyZero()) | 393 | if (!self->mPosGlobal.isExactlyZero()) |
401 | { | 394 | { |
402 | gFloaterWorldMap->trackLocation(self->mPosGlobal); | 395 | gFloaterWorldMap->trackLocation(self->mPosGlobal); |