summaryrefslogtreecommitdiff
path: root/indra/llui/llmenubutton.cpp
diff options
context:
space:
mode:
authorangela <angela@lindenlab.com>2009-10-30 08:11:56 +0800
committerangela <angela@lindenlab.com>2009-10-30 08:11:56 +0800
commitc3b2f98012a32c0f241b814a27113e756961778c (patch)
tree9f39748f0697626141f5afbab2e60c4315004cde /indra/llui/llmenubutton.cpp
parent9a07f0bac936be0978eb5a7c7067568e4eb2fac4 (diff)
media inspector https icon
Diffstat (limited to 'indra/llui/llmenubutton.cpp')
-rw-r--r--indra/llui/llmenubutton.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llui/llmenubutton.cpp b/indra/llui/llmenubutton.cpp
index 8dbcd6e229..a657ed039a 100644
--- a/indra/llui/llmenubutton.cpp
+++ b/indra/llui/llmenubutton.cpp
@@ -85,6 +85,8 @@ void LLMenuButton::toggleMenu()
void LLMenuButton::hideMenu()
{
+ if(!mMenu)
+ return;
mMenu->setVisible(FALSE);
}