summaryrefslogtreecommitdiff
path: root/indra/newview/llinspectobject.cpp
diff options
context:
space:
mode:
authorLeyla Farazha <leyla@lindenlab.com>2009-10-06 22:55:01 +0000
committerLeyla Farazha <leyla@lindenlab.com>2009-10-06 22:55:01 +0000
commit8086923d663cbca32a9b147973f912adcbd4a08a (patch)
tree0cade1f4bb490df1512cbaad82e6ce90138a7ea7 /indra/newview/llinspectobject.cpp
parent5c51eb5a345f0e5f95d1cab1bfc214022ebf517e (diff)
EXT-1283 [Inspectors] Avatar gear menu does not dismiss when selecting another AV
reviewed by James
Diffstat (limited to 'indra/newview/llinspectobject.cpp')
-rw-r--r--indra/newview/llinspectobject.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llinspectobject.cpp b/indra/newview/llinspectobject.cpp
index b0e6273c41..1a88bcb8f0 100644
--- a/indra/newview/llinspectobject.cpp
+++ b/indra/newview/llinspectobject.cpp
@@ -46,6 +46,7 @@
#include "llcontrol.h" // LLCachedControl
#include "llfloater.h"
#include "llfloaterreg.h"
+#include "llmenubutton.h"
#include "llresmgr.h" // getMonetaryString
#include "llsafehandle.h"
#include "lltextbox.h" // for description truncation
@@ -254,6 +255,8 @@ void LLInspectObject::onClose()
{
// Release selection to deselect
mObjectSelection = NULL;
+
+ getChild<LLMenuButton>("gear_btn")->hideMenu();
}
//virtual