Fix redrawing problems moving several cels or updating several editors after the move

This commit is contained in:
David Capello 2015-06-29 11:29:51 -03:00
parent 49b3502318
commit 1ee0b0413d

View File

@ -104,6 +104,13 @@ bool MovingCelState::onMouseUp(Editor* editor, MouseMessage* msg)
transaction.commit();
}
// Redraw all editors. We've to notify all views about this
// general update because MovingCelState::onMouseMove() redraws
// only the current cel in the current editor. And at this point
// we might have moved several cels (and we've to update all the
// editors).
document->notifyGeneralUpdate();
}
// Restore the mask visibility.