diff options
author | Igor Borovkov <iborovkov@productengine.com> | 2010-02-15 18:53:17 +0200 |
---|---|---|
committer | Igor Borovkov <iborovkov@productengine.com> | 2010-02-15 18:53:17 +0200 |
commit | b20e7dcb7221a949318f0dbe3084f82b3f8d6173 (patch) | |
tree | 3442d42002491059db3884ac1c5da37f9fa4f9e5 /indra/newview/llimfloatercontainer.cpp | |
parent | 61e799a4434dcfb77b0cbd25d454a4f82c7fca75 (diff) |
fixed EXT-5429 IM chat history of active tab in IM container is not updated when IM container is unminimized
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llimfloatercontainer.cpp')
-rw-r--r-- | indra/newview/llimfloatercontainer.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/indra/newview/llimfloatercontainer.cpp b/indra/newview/llimfloatercontainer.cpp index 49521b5987..a775115ac9 100644 --- a/indra/newview/llimfloatercontainer.cpp +++ b/indra/newview/llimfloatercontainer.cpp @@ -145,4 +145,16 @@ LLIMFloaterContainer* LLIMFloaterContainer::getInstance() return LLFloaterReg::getTypedInstance<LLIMFloaterContainer>("im_container"); } +void LLIMFloaterContainer::setMinimized(BOOL b) +{ + LLMultiFloater::setMinimized(b); + + if (isMinimized()) return; + + if (getActiveFloater()) + { + getActiveFloater()->setVisible(TRUE); + } +} + // EOF |