summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelplaces.cpp
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2021-02-25 16:55:11 +0200
committerMnikolenko Productengine <mnikolenko@productengine.com>2021-02-25 16:55:11 +0200
commit2d4a894b706d0dcbdc753318c2c400b0d3ee92b7 (patch)
tree39696fbdd1c3526eaef6109d548586c550ba4d96 /indra/newview/llpanelplaces.cpp
parent8f717b988ad6a1bc7156d0779b5c7e424c6bf932 (diff)
SL-14901 Add a button on the Landmarks bar to open the Places floater
Diffstat (limited to 'indra/newview/llpanelplaces.cpp')
-rw-r--r--indra/newview/llpanelplaces.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llpanelplaces.cpp b/indra/newview/llpanelplaces.cpp
index 53870fb5c7..1f3f58ffa3 100644
--- a/indra/newview/llpanelplaces.cpp
+++ b/indra/newview/llpanelplaces.cpp
@@ -1056,6 +1056,10 @@ void LLPanelPlaces::togglePlaceInfoPanel(BOOL visible)
{
landmarks_panel->setItemSelected(mItem->getUUID(), TRUE);
}
+ else
+ {
+ landmarks_panel->resetSelection();
+ }
}
}
}