summaryrefslogtreecommitdiff
path: root/indra/newview/llimfloater.cpp
diff options
context:
space:
mode:
authorVadim Savchuk <vsavchuk@productengine.com>2009-11-17 16:41:08 +0200
committerVadim Savchuk <vsavchuk@productengine.com>2009-11-17 16:41:08 +0200
commit7b10039d4512da390fe39ac9dbb86d6d5febe774 (patch)
treee622dc83620cd753c00460d25824584818030cf3 /indra/newview/llimfloater.cpp
parent402e957c56113550e53a3892908c6c7a5c16783a (diff)
parent0422eadf2ad4db0308a034a2b6426e19898451c4 (diff)
merge
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llimfloater.cpp')
-rw-r--r--indra/newview/llimfloater.cpp9
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*>