Fix downloading (getting messagebrige object).
This commit is contained in:
parent
b818bc5896
commit
07dde5be80
@ -409,7 +409,7 @@ class DownloadManager(QObject):
|
|||||||
q.destroyed.connect(functools.partial(self.questions.remove, q))
|
q.destroyed.connect(functools.partial(self.questions.remove, q))
|
||||||
self.questions.append(q)
|
self.questions.append(q)
|
||||||
download.cancelled.connect(q.abort)
|
download.cancelled.connect(q.abort)
|
||||||
utils.get_object('message').ask(q, blocking=False)
|
utils.get_object('messagebridge').ask(q, blocking=False)
|
||||||
|
|
||||||
@pyqtSlot(DownloadItem)
|
@pyqtSlot(DownloadItem)
|
||||||
def on_finished(self, download):
|
def on_finished(self, download):
|
||||||
|
Loading…
Reference in New Issue
Block a user