summaryrefslogtreecommitdiff
path: root/indra/newview/llpanellandmarks.cpp
diff options
context:
space:
mode:
authorMaximB ProductEngine <mberezhnoy@productengine.com>2014-01-14 10:00:30 +0200
committerMaximB ProductEngine <mberezhnoy@productengine.com>2014-01-14 10:00:30 +0200
commit4d81b1d967fbfa68f97f37d8d162b1ac9900a4b0 (patch)
tree901bbd3a524a2763b6744bd8f45045d717ac1654 /indra/newview/llpanellandmarks.cpp
parentc934710f766223e56c892b3ab7acd02321a8b47e (diff)
MAINT-3510 (Incorrect context menu entry in Places floater)
Diffstat (limited to 'indra/newview/llpanellandmarks.cpp')
-rwxr-xr-xindra/newview/llpanellandmarks.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llpanellandmarks.cpp b/indra/newview/llpanellandmarks.cpp
index 88400e4ef2..a22d9c06fa 100755
--- a/indra/newview/llpanellandmarks.cpp
+++ b/indra/newview/llpanellandmarks.cpp
@@ -716,6 +716,11 @@ void LLLandmarksPanel::updateListCommands()
mListCommands->getChildView(TRASH_BUTTON_NAME)->setEnabled(trash_enabled);
}
+void LLLandmarksPanel::updateMenuVisibility(LLUICtrl* menu)
+{
+ onMenuVisibilityChange(menu, LLSD().with("visibility", true));
+}
+
void LLLandmarksPanel::onActionsButtonClick()
{
LLToggleableMenu* menu = mGearFolderMenu;