diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml index 33aadba64..dbd5b2d59 100644 --- a/indra/newview/app_settings/settings.xml +++ b/indra/newview/app_settings/settings.xml @@ -731,6 +731,17 @@ Value 1 + LiruLegacyLogLaunch + + Comment + When opening a chat log, open in an external text editor instead of a browser floater(Windows Only). + Persist + 1 + Type + Boolean + Value + 0 + LiruLegacyOutfitStoreObjChanges Comment diff --git a/indra/newview/llimpanel.cpp b/indra/newview/llimpanel.cpp index a394f8fd7..96febbb73 100644 --- a/indra/newview/llimpanel.cpp +++ b/indra/newview/llimpanel.cpp @@ -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);