Fix button repaint on error (bug 840117)
Merge pull request #152 from muffinresearch/fix-redraw-onerror-840117

Fix button repaint on error (bug 840117)