Use proper list column when when generating teleport url from teleport history list.

This commit is contained in:
Shyotl
2013-06-27 20:11:34 -05:00
parent 84d76f437f
commit 54bf2943be

View File

@@ -334,7 +334,7 @@ void LLFloaterTeleportHistory::onTeleport(void* data)
LLFloaterTeleportHistory* self = (LLFloaterTeleportHistory*) data;
// 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);
}