Feature Request: Add a debug setting, LiruLegacyLogLaunch, to use the old, non-browser method to open chat logs.

This commit is contained in:
Inusaito Sayori
2013-10-07 05:43:56 -04:00
parent a1c43e3539
commit 99f81daa99
2 changed files with 16 additions and 0 deletions

View File

@@ -1089,6 +1089,11 @@ void LLFloaterIMPanel::onFlyoutCommit(LLComboBox* flyout, const LLSD& value)
void show_log_browser(const std::string& name, const std::string& id)
{
if (gSavedSettings.getBOOL("LiruLegacyLogLaunch"))
{
gViewerWindow->getWindow()->ShellEx("\"" + LLLogChat::makeLogFileName(name) + "\"");
return;
}
LLFloaterWebContent::Params p;
p.url("file:///" + LLLogChat::makeLogFileName(name));
p.id(id);