diff options
Diffstat (limited to 'linden')
-rw-r--r-- | linden/indra/newview/llpanelplace.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/linden/indra/newview/llpanelplace.cpp b/linden/indra/newview/llpanelplace.cpp index 300cd79..6b0455e 100644 --- a/linden/indra/newview/llpanelplace.cpp +++ b/linden/indra/newview/llpanelplace.cpp | |||
@@ -416,7 +416,10 @@ void LLPanelPlace::onClickTeleport(void* data) | |||
416 | parent_floaterp->close(); | 416 | parent_floaterp->close(); |
417 | } | 417 | } |
418 | // LLFloater* parent_floaterp = (LLFloater*)self->getParent(); | 418 | // LLFloater* parent_floaterp = (LLFloater*)self->getParent(); |
419 | parent_viewp->setVisible(false); | 419 | if (parent_viewp) |
420 | { | ||
421 | parent_viewp->setVisible(false); | ||
422 | } | ||
420 | if(self->mLandmarkAssetID.notNull()) | 423 | if(self->mLandmarkAssetID.notNull()) |
421 | { | 424 | { |
422 | gAgent.teleportViaLandmark(self->mLandmarkAssetID); | 425 | gAgent.teleportViaLandmark(self->mLandmarkAssetID); |