summaryrefslogtreecommitdiff
path: root/indra/newview/llpanellandmarks.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-07-07 14:08:36 -0400
committerOz Linden <oz@lindenlab.com>2011-07-07 14:08:36 -0400
commit5d92dc44026f7dd237aa871593080fd151064e62 (patch)
tree4f0c70e428824a0a01e38ff77850fb009b6c13f0 /indra/newview/llpanellandmarks.cpp
parent7614ceff24129643ecb96f57f0491507e4ff8dbd (diff)
parent4d77146b9016a4db37112e153e71c05c596f7fdc (diff)
merge changes for 2.7.4 release
Diffstat (limited to 'indra/newview/llpanellandmarks.cpp')
-rw-r--r--indra/newview/llpanellandmarks.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpanellandmarks.cpp b/indra/newview/llpanellandmarks.cpp
index 80f6862169..c2729fa19b 100644
--- a/indra/newview/llpanellandmarks.cpp
+++ b/indra/newview/llpanellandmarks.cpp
@@ -299,7 +299,7 @@ void LLLandmarksPanel::onTeleport()
}
LLFolderViewEventListener* listenerp = current_item->getListener();
- if (listenerp->getInventoryType() == LLInventoryType::IT_LANDMARK)
+ if (listenerp && listenerp->getInventoryType() == LLInventoryType::IT_LANDMARK)
{
listenerp->openItem();
}