summaryrefslogtreecommitdiff
path: root/indra/newview/llinspecttoast.cpp
diff options
context:
space:
mode:
authorsimon <none@none>2015-04-14 10:46:45 -0700
committersimon <none@none>2015-04-14 10:46:45 -0700
commit99c5f36f204759af1a81268be0bc72dd69789de4 (patch)
tree4c2449aa915f1b538788f69bf540f028847a334a /indra/newview/llinspecttoast.cpp
parent00f18efe75cdf5d70b2f7f66ce702fc3bd25dd5d (diff)
parenta647b8f1cbab13f07ea889c80df28414bc906129 (diff)
Merge viewer-release, become version 3.7.28
Diffstat (limited to 'indra/newview/llinspecttoast.cpp')
-rwxr-xr-xindra/newview/llinspecttoast.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llinspecttoast.cpp b/indra/newview/llinspecttoast.cpp
index 0bc7bd188d..d04378daaf 100755
--- a/indra/newview/llinspecttoast.cpp
+++ b/indra/newview/llinspecttoast.cpp
@@ -89,6 +89,11 @@ void LLInspectToast::onOpen(const LLSD& notification_id)
mConnection = toast->setOnToastDestroyedCallback(boost::bind(&LLInspectToast::onToastDestroy, this, _1));
LLPanel * panel = toast->getPanel();
+ if (panel == NULL)
+ {
+ LL_WARNS() << "Could not get toast's panel." << LL_ENDL;
+ return;
+ }
panel->setVisible(TRUE);
panel->setMouseOpaque(FALSE);
if(mPanel != NULL && mPanel->getParent() == this)