From 4422f10a9a97e0ace447e49d3b2105b297b54f5f Mon Sep 17 00:00:00 2001 From: Paul Guslisty Date: Wed, 9 Dec 2009 16:59:38 +0200 Subject: Fixed low bug EXT - 2688 (Viewer crashes if exit from disconnected viewer with opened Communicate floater) --HG-- branch : product-engine --- indra/newview/llfloaterchat.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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? -- cgit v1.2.3