mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-01 00:23:35 +00:00
Merge branch 'master' of git@github.com:aseprite/aseprite.git
This commit is contained in:
commit
146460ea1b
@ -37,13 +37,13 @@ namespace doc {
|
||||
|
||||
void onAddDocument(Document* doc) override {
|
||||
m_activeDoc = doc;
|
||||
notifyActiveSiteChanged();
|
||||
this->notifyActiveSiteChanged();
|
||||
}
|
||||
|
||||
void onRemoveDocument(Document* doc) override {
|
||||
if (m_activeDoc == doc) {
|
||||
m_activeDoc = nullptr;
|
||||
notifyActiveSiteChanged();
|
||||
this->notifyActiveSiteChanged();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user