diff options
author | Vadim ProductEngine <vsavchuk@productengine.com> | 2011-06-15 18:39:10 +0300 |
---|---|---|
committer | Vadim ProductEngine <vsavchuk@productengine.com> | 2011-06-15 18:39:10 +0300 |
commit | 5506dca9b9378168ea044d43b3a5c831b5fc35f7 (patch) | |
tree | 66ffbd5027283cfdc4cdbd9321754b373b0a4614 /indra/newview/llpanellandmarks.cpp | |
parent | 735c0dbc5ff731aad95227a940ef8b09a4a9e77d (diff) |
STORM-1339 FIXED Making a preventive fix for a crash in LLPanelPlaces::onTeleportButtonClicked().
Diffstat (limited to 'indra/newview/llpanellandmarks.cpp')
-rw-r--r-- | indra/newview/llpanellandmarks.cpp | 2 |
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(); } |