summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim ProductEngine <vsavchuk@productengine.com>2012-01-17 23:17:52 +0200
committerVadim ProductEngine <vsavchuk@productengine.com>2012-01-17 23:17:52 +0200
commitf9a17df4d3ec9e0301b287e0a0df6ac1f8ede1ca (patch)
tree874288f6feef0274169a2b609a889d291fb27684
parent944814941d16e7853ff365acc17a16b3a20ac9cb (diff)
EXP-1806 FIXED CTRL-W no longer closes floaters.
Restoring accidentally removed code.
-rw-r--r--indra/llui/llfloater.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llui/llfloater.cpp b/indra/llui/llfloater.cpp
index 33548151fd..cedc4c0aee 100644
--- a/indra/llui/llfloater.cpp
+++ b/indra/llui/llfloater.cpp
@@ -1681,6 +1681,8 @@ LLFloater* LLFloater::getClosableFloaterFromFocus()
{
if (it->hasFocus())
{
+ LLFloater& floater = *it;
+ focused_floater = &floater;
break;
}
}