summaryrefslogtreecommitdiff
path: root/indra/llui/llfloater.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2012-08-22 08:46:19 -0400
committerOz Linden <oz@lindenlab.com>2012-08-22 08:46:19 -0400
commit63d04204a99802d3200452e101d9bb1b898be881 (patch)
tree457b4b2336afd03f982ff04b7340ec5cb8dfcda4 /indra/llui/llfloater.cpp
parent5949d605d757c97819b7b55d1860d36031a3d38f (diff)
parente0f391df2a95192130bdfeb0d4f03ad6ca489eef (diff)
merge changes for DRTVWR-203
Diffstat (limited to 'indra/llui/llfloater.cpp')
-rw-r--r--indra/llui/llfloater.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llui/llfloater.cpp b/indra/llui/llfloater.cpp
index 8ca1e685a9..90251ac7c6 100644
--- a/indra/llui/llfloater.cpp
+++ b/indra/llui/llfloater.cpp
@@ -748,6 +748,10 @@ void LLFloater::closeFloater(bool app_quitting)
dependee->setFocus(TRUE);
}
}
+
+ // STORM-1879: since this floater has focus, treat the closeFloater- call
+ // like a click on the close-button, and close gear- and contextmenus
+ LLMenuGL::sMenuContainer->hideMenus();
}
dirtyRect();