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:
@ -91,10 +91,8 @@ void CMeasureTime::TimeToString(WCHAR* buf, size_t bufLen, const WCHAR* format,
|
||||
** Updates the current time
|
||||
**
|
||||
*/
|
||||
bool CMeasureTime::Update()
|
||||
void CMeasureTime::UpdateValue()
|
||||
{
|
||||
if (!CMeasure::PreUpdate()) return false;
|
||||
|
||||
FILETIME ftUTCTime;
|
||||
GetSystemTimeAsFileTime(&ftUTCTime);
|
||||
|
||||
@ -152,8 +150,6 @@ bool CMeasureTime::Update()
|
||||
{
|
||||
m_Value = (double)(m_Time.QuadPart / 10000000);
|
||||
}
|
||||
|
||||
return PostUpdate();
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user