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
1 changed files with 1 additions and 1 deletions

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()