diff options
author | Paul Guslisty <pguslisty@productengine.com> | 2009-12-09 16:59:38 +0200 |
---|---|---|
committer | Paul Guslisty <pguslisty@productengine.com> | 2009-12-09 16:59:38 +0200 |
commit | 4422f10a9a97e0ace447e49d3b2105b297b54f5f (patch) | |
tree | 79d51a4ba164d6b0b224192143e53846ff1d254a | |
parent | 2937ab945ff75be43cea54b48d93422db968c09f (diff) |
Fixed low bug EXT - 2688 (Viewer crashes if exit from disconnected viewer with opened Communicate floater)
--HG--
branch : product-engine
-rw-r--r-- | indra/newview/llfloaterchat.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llfloaterchat.cpp b/indra/newview/llfloaterchat.cpp index 57bb93d81a..94d4fb9b32 100644 --- a/indra/newview/llfloaterchat.cpp +++ b/indra/newview/llfloaterchat.cpp @@ -142,6 +142,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? |