mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Fixed: IfActions not fired when measure is disabled
This commit is contained in:
@ -62,14 +62,10 @@ void CMeasureUptime::ReadConfig(CConfigParser& parser, const WCHAR* section)
|
||||
** Updates the current uptime
|
||||
**
|
||||
*/
|
||||
bool CMeasureUptime::Update()
|
||||
void CMeasureUptime::UpdateValue()
|
||||
{
|
||||
if (!CMeasure::PreUpdate()) return false;
|
||||
|
||||
ULONGLONG ticks = CSystem::GetTickCount64();
|
||||
m_Value = (double)(__int64)(ticks / 1000);
|
||||
|
||||
return PostUpdate();
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user