summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorLeyla Farazha <leyla@lindenlab.com>2010-01-11 15:59:53 -0800
committerLeyla Farazha <leyla@lindenlab.com>2010-01-11 15:59:53 -0800
commitc1f4dc33c3c1a173cab1083af3f0a60767d09933 (patch)
tree5f6790489dabad91e7a98ff0c678ada25005f2b7 /indra
parentb98a4756567aedbc771f72d4a4a32b7a59a5c33e (diff)
EXT-2373 Viewer crashes if open Region/Estate floater after logging out
reviewed by Richard
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llfloaterregioninfo.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llfloaterregioninfo.cpp b/indra/newview/llfloaterregioninfo.cpp
index c4b87c1b2d..0402ba20e2 100644
--- a/indra/newview/llfloaterregioninfo.cpp
+++ b/indra/newview/llfloaterregioninfo.cpp
@@ -406,6 +406,11 @@ LLPanelEstateCovenant* LLFloaterRegionInfo::getPanelCovenant()
void LLFloaterRegionInfo::refreshFromRegion(LLViewerRegion* region)
{
+ if (!region)
+ {
+ return;
+ }
+
// call refresh from region on all panels
std::for_each(
mInfoPanels.begin(),