summaryrefslogtreecommitdiffstats
path: root/pyLoadGui.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2010-10-08 14:17:23 +0200
committerGravatar mkaay <mkaay@mkaay.de> 2010-10-08 14:17:23 +0200
commitfc0bb124f1fdbae80fe23e77ecb8fb52ad9a9b3b (patch)
treed8b03fe410be72057d281719dba74217b210fd33 /pyLoadGui.py
parentzippyshare fix (diff)
downloadpyload-fc0bb124f1fdbae80fe23e77ecb8fb52ad9a9b3b.tar.xz
closed #82
Diffstat (limited to 'pyLoadGui.py')
-rwxr-xr-xpyLoadGui.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pyLoadGui.py b/pyLoadGui.py
index 85acc0682..994e1dfb3 100755
--- a/pyLoadGui.py
+++ b/pyLoadGui.py
@@ -622,8 +622,10 @@ class main(QObject):
def checkCaptcha(self):
if self.connector.captchaWaiting() and self.mainWindow.captchaDock.isFree():
cid, img, imgType = self.connector.getCaptcha()
- self.mainWindow.captchaDock.emit(SIGNAL("setTask"), cid, str(img), imgType)
self.mainWindow.show()
+ self.mainWindow.raise_()
+ self.mainWindow.activateWindow()
+ self.mainWindow.captchaDock.emit(SIGNAL("setTask"), cid, str(img), imgType)
elif not self.mainWindow.captchaDock.isFree():
status = self.connector.getCaptchaStatus(self.mainWindow.captchaDock.currentID)
if not (status == "user" or status == "shared-user"):