Brushwork command: fix a potential exception
authorAndrew Chadwick <andrewc-git@piffle.org>
Mon, 9 Jun 2014 23:42:16 +0000 (00:42 +0100)
committerAndrew Chadwick <andrewc-git@piffle.org>
Mon, 9 Jun 2014 23:42:16 +0000 (00:42 +0100)
commit99f63b2108693b60e752f632fd54cd72a869ec8d
tree13dbc06dad8a058bca4289b523cd0d69fb81c032
parent26c0aeb68e2b6966d70a055374ff84847999f1a0
Brushwork command: fix a potential exception

Fix exception when clearing a document a lot while also drawing to it in
freehand mode with event queues. This only replicably happens in the brush
preview editor (for slightly mysterious reasons), and it doesn't matter
about screwing up the undo stack there - so just log the problem for now.
lib/command.py