Merge branch 'master' of git@github.com:aseprite/aseprite.git

This commit is contained in:
David Capello 2015-05-07 19:19:46 -03:00
commit 146460ea1b

View File

@ -37,13 +37,13 @@ namespace doc {
void onAddDocument(Document* doc) override { void onAddDocument(Document* doc) override {
m_activeDoc = doc; m_activeDoc = doc;
notifyActiveSiteChanged(); this->notifyActiveSiteChanged();
} }
void onRemoveDocument(Document* doc) override { void onRemoveDocument(Document* doc) override {
if (m_activeDoc == doc) { if (m_activeDoc == doc) {
m_activeDoc = nullptr; m_activeDoc = nullptr;
notifyActiveSiteChanged(); this->notifyActiveSiteChanged();
} }
} }