Fixed: IfActions not fired when measure is disabled

This commit is contained in:
Birunthan Mohanathas
2012-05-30 09:46:11 +03:00
parent 8fb0be30d4
commit 9623766a61
32 changed files with 125 additions and 214 deletions

View File

@ -59,10 +59,8 @@ CMeasureDiskSpace::~CMeasureDiskSpace()
** Updates the current disk free space value.
**
*/
bool CMeasureDiskSpace::Update()
void CMeasureDiskSpace::UpdateValue()
{
if (!CMeasure::PreUpdate()) return false;
if (!m_Drive.empty())
{
const WCHAR* drive = m_Drive.c_str();
@ -161,8 +159,6 @@ bool CMeasureDiskSpace::Update()
}
}
}
return PostUpdate();
}
/*