diff options
author | Andrew Dyukov <adyukov@productengine.com> | 2009-11-03 14:01:33 +0200 |
---|---|---|
committer | Andrew Dyukov <adyukov@productengine.com> | 2009-11-03 14:01:33 +0200 |
commit | 645e2588511ff55b773e22fe3c9ee2c4de37843c (patch) | |
tree | c7d4f420f18294e7bfe2d93e268b230fe91371bb /indra/newview/llnavigationbar.cpp | |
parent | 01724523cffec8b01ae873ed46cd05ec27a26379 (diff) |
Fixed EXT-1854 (Area of working for nav bar context menu is changed)
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llnavigationbar.cpp')
-rw-r--r-- | indra/newview/llnavigationbar.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llnavigationbar.cpp b/indra/newview/llnavigationbar.cpp index e63daac4af..b35fd6134b 100644 --- a/indra/newview/llnavigationbar.cpp +++ b/indra/newview/llnavigationbar.cpp @@ -50,6 +50,7 @@ #include "llslurl.h" #include "llurlsimstring.h" #include "llviewerinventory.h" +#include "llviewermenu.h" #include "llviewerparcelmgr.h" #include "llworldmap.h" #include "llappviewer.h" @@ -271,6 +272,12 @@ void LLNavigationBar::draw() LLPanel::draw(); } +BOOL LLNavigationBar::handleRightMouseDown(S32 x, S32 y, MASK mask) +{ + show_navbar_context_menu(this,x,y); + return TRUE; +} + void LLNavigationBar::onBackButtonClicked() { LLTeleportHistory::getInstance()->goBack(); |