mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-29 00:23:48 +00:00
Fix bug: Notify Context's observers in Context::onAdd/RemoveDocument
This commit is contained in:
parent
c9ab56cf69
commit
28fe226236
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user