summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorAlexei Arabadji <aarabadji@productengine.com>2009-11-16 11:41:21 +0200
committerAlexei Arabadji <aarabadji@productengine.com>2009-11-16 11:41:21 +0200
commite7519e8a977138627b429ca43a10184c82efc66e (patch)
treeb8bdbffb4d3eef7532b0773c52e411573534da91 /indra/llui
parent93c1e1bd6eaa8f77e746b1346b1729ed564081b4 (diff)
fixed EXT-2402 "Clicking on notification item in the Message Well should bring
it to front" made LLToast and LLDockableFloater goes foreground on setVisible(TRUE); --HG-- branch : product-engine
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/lldockablefloater.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llui/lldockablefloater.cpp b/indra/llui/lldockablefloater.cpp
index f56cb2eee7..c3dd4ae647 100644
--- a/indra/llui/lldockablefloater.cpp
+++ b/indra/llui/lldockablefloater.cpp
@@ -127,6 +127,10 @@ void LLDockableFloater::setVisible(BOOL visible)
mDockControl.get()->repositionDockable();
}
+ if (visible)
+ {
+ LLFloater::setFrontmost(TRUE);
+ }
LLFloater::setVisible(visible);
}