drawwindow: fix scratchpad exceptions
authorAndrew Chadwick <andrewc-git@piffle.org>
Mon, 20 Jan 2014 20:23:30 +0000 (20:23 +0000)
committerAndrew Chadwick <andrewc-git@piffle.org>
Mon, 20 Jan 2014 20:23:30 +0000 (20:23 +0000)
commitc5e4b07433a6b01164071b6e787a0f097a82bdc6
tree8a90c8b4789d423adb31d1da27673e312c3a921c
parentc0fea6030b1f2c352b12c54ec34f650dffcffaf4
drawwindow: fix scratchpad exceptions

Fix a pair of related exceptions when managing the scratchpad.
gui/drawwindow.py