diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2014-05-19 18:10:45 -0400 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2014-05-19 18:10:45 -0400 |
commit | 67051b26ba41a0d0cde2c2b96bccb0972d8ffe23 (patch) | |
tree | 4856017a193dd7a559bb3021670877f2eab5d155 /indra/newview/llplacesfolderview.cpp | |
parent | a5bb8839fa24fa0b7da331f14eedccea1b44bc84 (diff) | |
parent | 644ca6a0f8a7759119814f88df93b8e838321a12 (diff) |
merge
Diffstat (limited to 'indra/newview/llplacesfolderview.cpp')
-rwxr-xr-x | indra/newview/llplacesfolderview.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/newview/llplacesfolderview.cpp b/indra/newview/llplacesfolderview.cpp index 9e1b75b7e9..fe89c1e314 100755 --- a/indra/newview/llplacesfolderview.cpp +++ b/indra/newview/llplacesfolderview.cpp @@ -31,6 +31,7 @@ #include "llplacesinventorypanel.h" #include "llpanellandmarks.h" +#include "llmenugl.h" LLPlacesFolderView::LLPlacesFolderView(const LLFolderView::Params& p) : LLFolderView(p) @@ -67,6 +68,16 @@ BOOL LLPlacesFolderView::handleRightMouseDown(S32 x, S32 y, MASK mask) return LLFolderView::handleRightMouseDown(x, y, mask); } +void LLPlacesFolderView::updateMenu() +{ + LLFolderView::updateMenu(); + LLMenuGL* menu = (LLMenuGL*)mPopupMenuHandle.get(); + if (menu && menu->getVisible()) + { + mParentLandmarksPanel->updateMenuVisibility(menu); + } +} + void LLPlacesFolderView::setupMenuHandle(LLInventoryType::EType asset_type, LLHandle<LLView> menu_handle) { mMenuHandlesByInventoryType[asset_type] = menu_handle; |