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

@ -45,10 +45,8 @@ CMeasureRegistry::~CMeasureRegistry()
** Gets the current value from the registry
**
*/
bool CMeasureRegistry::Update()
void CMeasureRegistry::UpdateValue()
{
if (!CMeasure::PreUpdate()) return false;
if (m_RegKey != NULL)
{
DWORD size = 4096;
@ -99,8 +97,6 @@ bool CMeasureRegistry::Update()
{
RegOpenKeyEx(m_HKey, m_RegKeyName.c_str(), 0, KEY_READ, &m_RegKey);
}
return PostUpdate();
}
/*