From 7e17c825c16ddca78e4fa7144efe0ec9f0e62361 Mon Sep 17 00:00:00 2001 From: Arrehn Date: Fri, 10 Jun 2011 22:17:46 -0400 Subject: [PATCH] FIRE-1236: Check that statusbar exists when processinging related callbacks --- indra/newview/llviewercontrol.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/indra/newview/llviewercontrol.cpp b/indra/newview/llviewercontrol.cpp index b72cf92167..06b0a284da 100644 --- a/indra/newview/llviewercontrol.cpp +++ b/indra/newview/llviewercontrol.cpp @@ -526,7 +526,8 @@ bool toggle_show_menubar_location_panel(const LLSD& newvalue) { bool value = newvalue.asBoolean(); - gStatusBar->childSetVisible("parcel_info_panel",value); + if (gStatusBar) + gStatusBar->childSetVisible("parcel_info_panel",value); return true; }