summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterchat.cpp
diff options
context:
space:
mode:
authorYuri Chebotarev <ychebotarev@productengine.com>2009-12-09 19:14:20 +0200
committerYuri Chebotarev <ychebotarev@productengine.com>2009-12-09 19:14:20 +0200
commitb9d0bc8c8e356e65a1dccf9727c1463ec797f2f4 (patch)
treea8409a477d697652aecaf487f3cc0c8d6c5483b1 /indra/newview/llfloaterchat.cpp
parentbf4cbc517ce14bcceb0ee890c541a8973fee62a9 (diff)
parentb24cbb3633594ed7a7ebde1701175cbe33608dea (diff)
merge
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llfloaterchat.cpp')
-rw-r--r--indra/newview/llfloaterchat.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llfloaterchat.cpp b/indra/newview/llfloaterchat.cpp
index 57bb93d81a..b9e0f928f1 100644
--- a/indra/newview/llfloaterchat.cpp
+++ b/indra/newview/llfloaterchat.cpp
@@ -41,6 +41,7 @@
// project include
#include "llagent.h"
+#include "llappviewer.h"
#include "llbutton.h"
#include "llcheckboxctrl.h"
#include "llcombobox.h"
@@ -142,6 +143,10 @@ BOOL LLFloaterChat::postBuild()
void LLFloaterChat::updateConsoleVisibility()
{
+ if(gDisconnected)
+ {
+ return;
+ }
// determine whether we should show console due to not being visible
gConsole->setVisible( !isInVisibleChain() // are we not in part of UI being drawn?
|| isMinimized() // are we minimized?