diff options
author | Dmitry Zaporozhan <dzaporozhan@productengine.com> | 2010-02-01 15:37:03 +0200 |
---|---|---|
committer | Dmitry Zaporozhan <dzaporozhan@productengine.com> | 2010-02-01 15:37:03 +0200 |
commit | 379762d2c1dd4e0804dd6ab1b930f525e1a60189 (patch) | |
tree | 8710579a5fa21745cbe07a44ab0841d70454cc3d /indra/newview/llimfloater.cpp | |
parent | 484cbc524fd6c182fff6b0f5089b542be3a0174b (diff) |
Fixed normal bug EXT-4772 - No new IM notification when in tabbed IM mode.
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llimfloater.cpp')
-rw-r--r-- | indra/newview/llimfloater.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/indra/newview/llimfloater.cpp b/indra/newview/llimfloater.cpp index 1839a1ef86..4a18c8640f 100644 --- a/indra/newview/llimfloater.cpp +++ b/indra/newview/llimfloater.cpp @@ -510,6 +510,20 @@ void LLIMFloater::setVisible(BOOL visible) } } +BOOL LLIMFloater::getVisible() +{ + if(isChatMultiTab()) + { + LLIMFloaterContainer* im_container = LLIMFloaterContainer::getInstance(); + // Tabbed IM window is "visible" when we minimize it. + return !im_container->isMinimized() && im_container->getVisible(); + } + else + { + return LLTransientDockableFloater::getVisible(); + } +} + //static bool LLIMFloater::toggle(const LLUUID& session_id) { |