summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelplaces.cpp
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2021-02-25 20:35:07 +0200
committerMnikolenko Productengine <mnikolenko@productengine.com>2021-02-25 20:35:07 +0200
commitc1139ed9b58025684c6ba7f5779e7e3245bd9a40 (patch)
tree34db6cfe1a2d05cba86911bb2834a730b648c78d /indra/newview/llpanelplaces.cpp
parent554ccd718131d469a7cde1e188d9ef0f712a6ed9 (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 d56194e5b4..11ae980941 100644
--- a/indra/newview/llpanelplaces.cpp
+++ b/indra/newview/llpanelplaces.cpp
@@ -1130,6 +1130,10 @@ void LLPanelPlaces::togglePlaceInfoPanel(BOOL visible)
{
landmarks_panel->setItemSelected(mItem->getUUID(), TRUE);
}
+ else
+ {
+ landmarks_panel->resetSelection();
+ }
}
}
}