Add missing handler for OnActiveChanged

refs #9098
This commit is contained in:
Gunnar Beutner 2015-09-22 12:01:34 +02:00
parent c5fe42e0b0
commit 3bca951b81
2 changed files with 4 additions and 3 deletions

View File

@ -82,7 +82,8 @@ void StatusDataWriter::Start(void)
m_StatusTimer->Start();
m_StatusTimer->Reschedule(0);
ConfigObject::OnVersionChanged.connect(boost::bind(&StatusDataWriter::VersionChangedHandler, this));
ConfigObject::OnVersionChanged.connect(boost::bind(&StatusDataWriter::ObjectHandler, this));
ConfigObject::OnActiveChanged.connect(boost::bind(&StatusDataWriter::ObjectHandler, this));
}
void StatusDataWriter::DumpComments(std::ostream& fp, const Checkable::Ptr& checkable)
@ -867,7 +868,7 @@ void StatusDataWriter::StatusTimerHandler(void)
<< "Writing status.dat file took " << Utility::FormatDuration(Utility::GetTime() - start);
}
void StatusDataWriter::VersionChangedHandler(void)
void StatusDataWriter::ObjectHandler(void)
{
m_ObjectsCacheOutdated = true;
}

View File

@ -100,7 +100,7 @@ private:
void UpdateObjectsCache(void);
void StatusTimerHandler(void);
void VersionChangedHandler(void);
void ObjectHandler(void);
};
}