Use proper list column when when generating teleport url from teleport history list.
This commit is contained in:
@@ -334,7 +334,7 @@ void LLFloaterTeleportHistory::onTeleport(void* data)
|
|||||||
LLFloaterTeleportHistory* self = (LLFloaterTeleportHistory*) data;
|
LLFloaterTeleportHistory* self = (LLFloaterTeleportHistory*) data;
|
||||||
|
|
||||||
// build secondlife::/app link from simstring for instant teleport to destination
|
// build secondlife::/app link from simstring for instant teleport to destination
|
||||||
std::string slapp = "secondlife:///app/teleport/" + self->mPlacesList->getFirstSelected()->getColumn(LIST_SLURL)->getValue().asString();
|
std::string slapp = "secondlife:///app/teleport/" + self->mPlacesList->getFirstSelected()->getColumn(LIST_SIMSTRING)->getValue().asString();
|
||||||
LLUrlAction::teleportToLocation(slapp);
|
LLUrlAction::teleportToLocation(slapp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user