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:
@@ -78,13 +78,8 @@ void CMeasureScript::Initialize()
|
||||
** Updates the current disk free space value.
|
||||
**
|
||||
*/
|
||||
bool CMeasureScript::Update()
|
||||
void CMeasureScript::UpdateValue()
|
||||
{
|
||||
if (!CMeasure::PreUpdate())
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if (m_HasUpdateFunction)
|
||||
{
|
||||
m_ValueType = m_LuaScript->RunFunctionWithReturn(g_UpdateFunctionName, m_Value, m_StringValue);
|
||||
@@ -95,8 +90,6 @@ bool CMeasureScript::Update()
|
||||
m_ValueType = m_LuaScript->RunFunctionWithReturn(g_GetStringFunctionName, m_Value, m_StringValue);
|
||||
}
|
||||
}
|
||||
|
||||
return PostUpdate();
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user