Add a hidden debug option to give a choice to open Statistics window instead of the Lag Meter one
parent
28220963ba
commit
bc0e12b356
|
|
@ -23285,6 +23285,17 @@ Change of this parameter will affect the layout of buttons in notification toast
|
|||
<key>Value</key>
|
||||
<integer>0</integer>
|
||||
</map>
|
||||
<key>FSUseStatsInsteadOfLagMeter</key>
|
||||
<map>
|
||||
<key>Comment</key>
|
||||
<string>Clicking on traffic indicator (upper right) toggles Statistics window, not the Lag Meter window</string>
|
||||
<key>Persist</key>
|
||||
<integer>1</integer>
|
||||
<key>Type</key>
|
||||
<string>Boolean</string>
|
||||
<key>Value</key>
|
||||
<integer>0</integer>
|
||||
</map>
|
||||
</map>
|
||||
</llsd>
|
||||
|
||||
|
|
|
|||
|
|
@ -928,7 +928,14 @@ void LLStatusBar::onVolumeChanged(const LLSD& newvalue)
|
|||
// <FS:PP> FIRE-6287: Clicking on traffic indicator toggles Lag Meter window
|
||||
void LLStatusBar::onBandwidthGraphButtonClicked()
|
||||
{
|
||||
LLFloaterReg::toggleInstance("lagmeter");
|
||||
if (gSavedSettings.getBOOL("FSUseStatsInsteadOfLagMeter"))
|
||||
{
|
||||
LLFloaterReg::toggleInstance("stats");
|
||||
}
|
||||
else
|
||||
{
|
||||
LLFloaterReg::toggleInstance("lagmeter");
|
||||
}
|
||||
}
|
||||
// </FS:PP> FIRE-6287: Clicking on traffic indicator toggles Lag Meter window
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue