summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Glüpker <git@wgmd.de>2016-04-08 10:01:25 +0200
committerAndré Glüpker <git@wgmd.de>2016-04-08 10:01:25 +0200
commita3af85f43e5763762b760708bf2d443abe29e553 (patch)
tree672052e66d1d7bb375a7bf5a4fbfd2f82f17b481
parent27339dbc98d9f9bdbc919ce87e8d95659334e1ce (diff)
download9kwpyqt-a3af85f43e5763762b760708bf2d443abe29e553.tar.gz
9kwpyqt-a3af85f43e5763762b760708bf2d443abe29e553.tar.bz2
9kwpyqt-a3af85f43e5763762b760708bf2d443abe29e553.zip
Clear input on new captcha
-rwxr-xr-x9kwpyqt.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/9kwpyqt.py b/9kwpyqt.py
index a4d7be8..f23cea7 100755
--- a/9kwpyqt.py
+++ b/9kwpyqt.py
@@ -166,6 +166,7 @@ class CaptchaGUI(QWidget):
result = pixmap.loadFromData(image)
if result:
self.captchaImage.setImage(pixmap)
+ self.captchaInputLine.setText("")
self.captchaInputLine.setFocus()
if self.soundCheckbox.isChecked():
self.sound.play()