summaryrefslogtreecommitdiff
path: root/indra/newview/llsyswellwindow.cpp
diff options
context:
space:
mode:
authorAndrew Dyukov <adyukov@productengine.com>2009-12-07 15:44:44 +0200
committerAndrew Dyukov <adyukov@productengine.com>2009-12-07 15:44:44 +0200
commit13dd7431a350fc2515a6b7f30995fbc47f1bc77b (patch)
tree6b0167414f30581c8b204f30d1d06d5bd8808560 /indra/newview/llsyswellwindow.cpp
parent6eee48e16e75c1f70bb1cbce9544bad63d9621cf (diff)
Implemented normal task EXT-3084 (Update Notifications window behavior).
- Added hiding window when focus is lost. --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llsyswellwindow.cpp')
-rw-r--r--indra/newview/llsyswellwindow.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llsyswellwindow.cpp b/indra/newview/llsyswellwindow.cpp
index e5a4b456a0..18877e3895 100644
--- a/indra/newview/llsyswellwindow.cpp
+++ b/indra/newview/llsyswellwindow.cpp
@@ -175,6 +175,12 @@ void LLSysWellWindow::setVisible(BOOL visible)
}
//---------------------------------------------------------------------------------
+void LLSysWellWindow::onFocusLost()
+{
+ setVisible(false);
+}
+
+//---------------------------------------------------------------------------------
void LLSysWellWindow::setDocked(bool docked, bool pop_on_undock)
{
LLDockableFloater::setDocked(docked, pop_on_undock);