diff --git a/indra/newview/fsfloaterplacedetails.cpp b/indra/newview/fsfloaterplacedetails.cpp index 453226cafb..b3c7f130cd 100644 --- a/indra/newview/fsfloaterplacedetails.cpp +++ b/indra/newview/fsfloaterplacedetails.cpp @@ -330,6 +330,12 @@ void FSFloaterPlaceDetails::onOpen(const LLSD& key) mDisplayInfo = REMOTE_PLACE; setTitle(getString("title_remote_place")); + mPanelPlaceInfo->resetLocation(); + mPanelPlaceInfo->setInfoType(LLPanelPlaceInfo::PLACE); + mPanelPlaceInfo->setHeaderVisible(FALSE); + mPanelPlaceInfo->setVisible(TRUE); + mPanelLandmarkInfo->setVisible(FALSE); + if (key.has("id")) { LLUUID parcel_id = key["id"].asUUID(); @@ -349,12 +355,6 @@ void FSFloaterPlaceDetails::onOpen(const LLSD& key) mPanelPlaceInfo->displayParcelInfo(LLUUID(), mGlobalPos); } - mPanelPlaceInfo->resetLocation(); - mPanelPlaceInfo->setInfoType(LLPanelPlaceInfo::PLACE); - mPanelPlaceInfo->setHeaderVisible(FALSE); - mPanelPlaceInfo->setVisible(TRUE); - mPanelLandmarkInfo->setVisible(FALSE); - updateVerbs(); } else if (key_type == "teleport_history")