summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2016-12-30 16:26:01 +0200
committerMnikolenko Productengine <mnikolenko@productengine.com>2016-12-30 16:26:01 +0200
commitea65bc80c3bdaf779c945e61838d14e0446df2c8 (patch)
tree0e7035d2650bc3a64e3a9827a88088d0c19bbed9
parent6c023787cdee1ab80a6306fa8ae61e01cba84457 (diff)
MAINT-7026 Teleport history info panel is shown when it shouldn't be after certain actions
-rw-r--r--indra/newview/llpanelplaces.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/indra/newview/llpanelplaces.cpp b/indra/newview/llpanelplaces.cpp
index 5d43c38612..0507d6db86 100644
--- a/indra/newview/llpanelplaces.cpp
+++ b/indra/newview/llpanelplaces.cpp
@@ -1006,7 +1006,7 @@ void LLPanelPlaces::togglePlaceInfoPanel(BOOL visible)
mPlaceInfoType == LANDMARK_TAB_INFO_TYPE)
{
mLandmarkInfo->setVisible(visible);
-
+ mPlaceProfile->setVisible(FALSE);
if (visible)
{
mLandmarkInfo->resetLocation();
@@ -1014,8 +1014,6 @@ void LLPanelPlaces::togglePlaceInfoPanel(BOOL visible)
LLRect rect = getRect();
LLRect new_rect = LLRect(rect.mLeft, rect.mTop, rect.mRight, mTabContainer->getRect().mBottom);
mLandmarkInfo->reshape(new_rect.getWidth(), new_rect.getHeight());
-
- mPlaceProfile->setVisible(FALSE);
}
else
{