FIRE-14646: When clicking on a SLURL, location text in place details is incorrect if standalone place details floater is used
parent
9615c0e822
commit
b609970d4f
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in New Issue