Teleport history now saved to teleport_history.xml. TeleportHistoryMaxEntries specifies how many entries to allow in floater before old entries are dropped.

This commit is contained in:
Shyotl
2011-07-16 23:32:01 -05:00
parent 04ff884c5f
commit 2870d44824
8 changed files with 140 additions and 16 deletions

View File

@@ -2005,8 +2005,8 @@ void LLViewerWindow::initWorldUI_postLogin()
gFloaterWorldMap->setVisible(FALSE);
// open teleport history floater and hide it initially
gFloaterTeleportHistory = new LLFloaterTeleportHistory();
gFloaterTeleportHistory->setVisible(FALSE);
LLFloaterTeleportHistory::getInstance()->setVisible(FALSE);
LLFloaterTeleportHistory::loadFile("teleport_history.xml");
LLFloaterChatterBox::createInstance(LLSD());
}