Rainmeter.stats is now updated periodically only if NetTotal measure has been used in current session.

This commit is contained in:
Birunthan Mohanathas
2012-01-28 18:44:19 +00:00
parent e14ef154f3
commit 92864ea360
4 changed files with 10 additions and 2 deletions

View File

@ -478,6 +478,7 @@ void CMeasureNet::ReadConfig(CConfigParser& parser, const WCHAR* section, NET ne
{
netName = L"NetTotalSpeed";
value = Rainmeter->GetGlobalConfig().netInSpeed + Rainmeter->GetGlobalConfig().netOutSpeed;
CSystem::SetNetworkStatisticsTimer();
}
double maxValue = parser.ReadFloat(section, L"MaxValue", -1);