1
0
Fork 0
mirror of https://github.com/borgbase/vorta synced 2025-03-11 14:49:16 +00:00

Called set_progress() on wrong class. (#965)

This commit is contained in:
Manu 2021-04-28 09:30:04 +08:00 committed by GitHub
parent 33f0c4c4e4
commit b96e8d460e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -242,7 +242,7 @@ class VortaApp(QtSingleApplication):
def break_lock(self, profile):
params = BorgBreakThread.prepare(profile)
if not params['ok']:
self.set_progress(params['message'])
self.backup_progress_event.emit(params['message'])
return
thread = BorgBreakThread(params['cmd'], params, parent=self)
thread.start()