From 4744b62f91f291778c952eeaaf671db5698542e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Jastrz=C4=99bski?= Date: Sun, 21 Jul 2013 20:25:14 +0200 Subject: [PATCH] Interruption fix --- kcc/KCC_gui.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kcc/KCC_gui.py b/kcc/KCC_gui.py index 89a38b5..129495c 100644 --- a/kcc/KCC_gui.py +++ b/kcc/KCC_gui.py @@ -148,8 +148,9 @@ class WorkerThread(QtCore.QThread): argv.append("--forcecolor") for i in range(GUI.JobList.count()): currentJobs.append(str(GUI.JobList.item(i).text())) + GUI.JobList.clear() for job in currentJobs: - time.sleep(1) + time.sleep(0.5) if not self.conversionAlive: self.clean() return