diff options
author | Leyla Farazha <leyla@lindenlab.com> | 2010-01-11 15:59:53 -0800 |
---|---|---|
committer | Leyla Farazha <leyla@lindenlab.com> | 2010-01-11 15:59:53 -0800 |
commit | c1f4dc33c3c1a173cab1083af3f0a60767d09933 (patch) | |
tree | 5f6790489dabad91e7a98ff0c678ada25005f2b7 /indra | |
parent | b98a4756567aedbc771f72d4a4a32b7a59a5c33e (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.cpp | 5 |
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(), |