summaryrefslogtreecommitdiff
path: root/9kwpyqt.py
diff options
context:
space:
mode:
Diffstat (limited to '9kwpyqt.py')
-rwxr-xr-x9kwpyqt.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/9kwpyqt.py b/9kwpyqt.py
index 3529077..8bd6333 100755
--- a/9kwpyqt.py
+++ b/9kwpyqt.py
@@ -218,7 +218,9 @@ class CaptchaGUI(QWidget):
if not self.running:
self.captchaImage.setText(self.offlinemessage)
QTimer.singleShot(500, self.getCaptchaID)
+ self.startstopButton.setStyleSheet("QPushButton { background-color: green; }")
return
+ self.startstopButton.setStyleSheet("QPushButton { background-color: red; }")
url = QUrl(self.apiurl+"action=usercaptchanew&text=yes&mouse=0&confirm=0")
self.networkCaptchaID = QNetworkRequest(url)
self.networkCaptchaIDReply = self.NetworkManager.get(self.networkCaptchaID)