Fixed that IfAction state is not reset after disabling since 4a8bc1b

This commit is contained in:
Birunthan Mohanathas
2012-06-03 12:53:01 +03:00
parent fa099665a3
commit f2a494b675
2 changed files with 23 additions and 1 deletions

View File

@ -57,7 +57,7 @@ public:
const WCHAR* GetName() { return m_Name.c_str(); }
const std::wstring& GetOriginalName() { return m_Name; }
void Disable() { m_Disabled = true; }
void Disable();
void Enable() { m_Disabled = false; }
bool IsDisabled() { return m_Disabled; }