Merge branch 'master' of https://github.com/LightDrake/SingularityViewer
This commit is contained in:
@@ -109,14 +109,14 @@ void AIServiceBar::draw()
|
||||
{
|
||||
if (col < 2)
|
||||
{
|
||||
text = llformat(" | %hu-%hu-%lu,{%hu/%hu,%u}/%u",
|
||||
text = llformat(" | %hu-%hd-%lu,{%hu/%hu,%u}/%u",
|
||||
ct.mApprovedRequests, ct.mQueuedCommands, ct.mQueuedRequests.size(),
|
||||
ct.mAdded, ct.mConcurrentConnections, ct.mDownloading,
|
||||
ct.mMaxPipelinedRequests);
|
||||
}
|
||||
else
|
||||
{
|
||||
text = llformat(" | --%hu-%lu,{%hu/%hu,%u}",
|
||||
text = llformat(" | --%hd-%lu,{%hu/%hu,%u}",
|
||||
ct.mQueuedCommands, ct.mQueuedRequests.size(),
|
||||
ct.mAdded, ct.mConcurrentConnections, ct.mDownloading);
|
||||
}
|
||||
|
||||
@@ -731,6 +731,17 @@
|
||||
<key>Value</key>
|
||||
<integer>1</integer>
|
||||
</map>
|
||||
<key>LiruLegacyLogLaunch</key>
|
||||
<map>
|
||||
<key>Comment</key>
|
||||
<string>When opening a chat log, open in an external text editor instead of a browser floater(Windows Only).</string>
|
||||
<key>Persist</key>
|
||||
<integer>1</integer>
|
||||
<key>Type</key>
|
||||
<string>Boolean</string>
|
||||
<key>Value</key>
|
||||
<boolean>0</boolean>
|
||||
</map>
|
||||
<key>LiruLegacyOutfitStoreObjChanges</key>
|
||||
<map>
|
||||
<key>Comment</key>
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user