mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
[AboutDialog]
- Fixed the issue that the statistics are updated many times if many active skins are working. "Log" is now updated once every 1 second. Config is now updated once on its Update=. - Fixed the issue that the statistics show by incorrect order in some conditions. - Fixed the issue that the entries aren't updated if the skin is activated/deactivated.
This commit is contained in:
@ -1910,6 +1910,8 @@ void CRainmeter::CreateMeterWindow(std::wstring path, std::wstring config, std::
|
||||
{
|
||||
m_Meters[config] = mw;
|
||||
mw->Initialize(*this);
|
||||
|
||||
UpdateAboutDialog();
|
||||
}
|
||||
}
|
||||
|
||||
@ -1929,6 +1931,8 @@ void CRainmeter::ClearDeleteLaterList()
|
||||
if ((*iter).second == meterWindow)
|
||||
{
|
||||
m_Meters.erase(iter);
|
||||
|
||||
UpdateAboutDialog();
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -1961,6 +1965,8 @@ bool CRainmeter::DeleteMeterWindow(CMeterWindow* meterWindow, bool bLater)
|
||||
{
|
||||
m_Meters.erase(iter);
|
||||
delete meterWindow;
|
||||
|
||||
UpdateAboutDialog();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@ -1969,6 +1975,8 @@ bool CRainmeter::DeleteMeterWindow(CMeterWindow* meterWindow, bool bLater)
|
||||
{
|
||||
m_Meters.clear();
|
||||
}
|
||||
|
||||
UpdateAboutDialog();
|
||||
}
|
||||
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user