diff options
Diffstat (limited to 'pyLoadGui.py')
-rwxr-xr-x | pyLoadGui.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pyLoadGui.py b/pyLoadGui.py index 981a74ce9..d968528c7 100755 --- a/pyLoadGui.py +++ b/pyLoadGui.py @@ -163,6 +163,7 @@ class main(QObject): self.connect(self.mainWindow, SIGNAL("setClipboardStatus"), self.slotSetClipboardStatus) self.connect(self.mainWindow, SIGNAL("changePackageName"), self.slotChangePackageName) self.connect(self.mainWindow, SIGNAL("pullOutPackage"), self.slotPullOutPackage) + self.connect(self.mainWindow, SIGNAL("refreshStatus"), self.slotRefreshStatus) self.connect(self.mainWindow, SIGNAL("setPriority"), self.slotSetPriority) self.connect(self.mainWindow, SIGNAL("reloadAccounts"), self.slotReloadAccounts) @@ -512,6 +513,13 @@ class main(QObject): else: self.connector.restartFile(id) + def slotRefreshStatus(self, id): + """ + emitted from main window + refresh download status + """ + self.connector.proxy.recheck_package(id) + def slotRemoveDownload(self, id, isPack): """ emitted from main window |