aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterchatterbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llfloaterchatterbox.h')
-rw-r--r--linden/indra/newview/llfloaterchatterbox.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/linden/indra/newview/llfloaterchatterbox.h b/linden/indra/newview/llfloaterchatterbox.h
index ff2f243..552ef81 100644
--- a/linden/indra/newview/llfloaterchatterbox.h
+++ b/linden/indra/newview/llfloaterchatterbox.h
@@ -150,7 +150,14 @@ public:
150 { 150 {
151 if (visible(instance, key)) 151 if (visible(instance, key))
152 { 152 {
153 LLFloaterChatterBox::hideInstance(); 153 if(instance->getHost())
154 {
155 LLFloaterChatterBox::hideInstance();
156 }
157 else
158 {
159 VisibilityPolicy<LLFloater>::hide(instance, key);
160 }
154 } 161 }
155 } 162 }
156 163