diff options
author | Vadim Savchuk <vsavchuk@productengine.com> | 2009-11-17 16:41:08 +0200 |
---|---|---|
committer | Vadim Savchuk <vsavchuk@productengine.com> | 2009-11-17 16:41:08 +0200 |
commit | 7b10039d4512da390fe39ac9dbb86d6d5febe774 (patch) | |
tree | e622dc83620cd753c00460d25824584818030cf3 /indra/newview/llimfloater.cpp | |
parent | 402e957c56113550e53a3892908c6c7a5c16783a (diff) | |
parent | 0422eadf2ad4db0308a034a2b6426e19898451c4 (diff) |
merge
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llimfloater.cpp')
-rw-r--r-- | indra/newview/llimfloater.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llimfloater.cpp b/indra/newview/llimfloater.cpp index c2c83191e0..890f587467 100644 --- a/indra/newview/llimfloater.cpp +++ b/indra/newview/llimfloater.cpp @@ -377,6 +377,15 @@ void LLIMFloater::setDocked(bool docked, bool pop_on_undock) } } +void LLIMFloater::setMinimized(BOOL minimize) +{ + if(minimize && !isDocked()) + { + setVisible(FALSE); + } + LLDockableFloater::setMinimized(minimize); +} + void LLIMFloater::setVisible(BOOL visible) { LLNotificationsUI::LLScreenChannel* channel = dynamic_cast<LLNotificationsUI::LLScreenChannel*> |