brush popup: close when re-invoked with keyboard
authorAndrew Chadwick <andrewc-git@piffle.org>
Sun, 13 Jan 2013 19:37:20 +0000 (19:37 +0000)
committerAndrew Chadwick <andrewc-git@piffle.org>
Sun, 13 Jan 2013 19:53:36 +0000 (19:53 +0000)
commitd00fe94a063fd499cce221f85da466f43f9d1f16
tree05fb4bbbfacb68d880355971957e1b674fb54b4e
parente59dd067cfd5f5969f16c2764bd4ef4eebfb72f1
brush popup: close when re-invoked with keyboard

Close the brush popup if its key is pressed again while the dialog is
active.  This makes it closer in behaviour to the colour popups.

https://gna.org/bugs/?19460
gui/dialogs.py
gui/drawwindow.py