Use internal conversation log preview floater for nearby chat as well

meow-7.2.2
Ansariel 2013-07-25 09:22:01 +02:00
parent 214ce92c16
commit e5dce89705
1 changed files with 8 additions and 1 deletions

View File

@ -298,7 +298,14 @@ void FSFloaterNearbyChat::onNearbySpeakers()
// static
void FSFloaterNearbyChat::onHistoryButtonClicked(LLUICtrl* ctrl, void* userdata)
{
gViewerWindow->getWindow()->openFile(LLLogChat::makeLogFileName("chat"));
if (gSavedSettings.getBOOL("FSUseBuiltInHistory"))
{
LLFloaterReg::showInstance("preview_conversation", LLSD(LLUUID::null), true);
}
else
{
gViewerWindow->getWindow()->openFile(LLLogChat::makeLogFileName("chat"));
}
}
void FSFloaterNearbyChat::onNearbyChatContextMenuItemClicked(const LLSD& userdata)