FIRE-14646: When clicking on a SLURL, location text in place details is incorrect if standalone place details floater is used

Ansariel 2014-09-20 21:43:54 +02:00
parent 9615c0e822
commit b609970d4f
1 changed files with 6 additions and 6 deletions

View File

@ -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")