Fix bug: Notify Context's observers in Context::onAdd/RemoveDocument

This commit is contained in:
David Capello 2013-11-10 20:36:15 -03:00
parent c9ab56cf69
commit 28fe226236

View File

@ -151,12 +151,12 @@ void Context::removeObserver(ContextObserver* observer)
void Context::onAddDocument(Document* document)
{
// do nothing
m_observers.notifyAddDocument(this, document);
}
void Context::onRemoveDocument(Document* document)
{
// do nothing
m_observers.notifyRemoveDocument(this, document);
}
} // namespace app