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

@ -54,10 +54,8 @@ CMeasureCalc::~CMeasureCalc()
** Updates the calculation
**
*/
bool CMeasureCalc::Update()
void CMeasureCalc::UpdateValue()
{
if (!CMeasure::PreUpdate()) return false;
const WCHAR* errMsg = MathParser::Parse(m_Formula.c_str(), this, &m_Value);
if (errMsg != NULL)
{
@ -71,8 +69,6 @@ bool CMeasureCalc::Update()
{
m_ParseError = false;
}
return PostUpdate();
}
/*