Fix problem with brush preview after using a drawing tool

This commit is contained in:
David Capello 2015-07-06 11:05:49 -03:00
parent 8923e04a33
commit 204e2a28b7

View File

@ -190,6 +190,8 @@ public:
}
void updateDirtyArea() override {
// TODO find a way to avoid calling hide/show brush preview here
HideBrushPreview hide(m_editor->brushPreview());
m_document->notifySpritePixelsModified(m_sprite, m_dirtyArea);
}