From d7634e87197eaec36e61a46be133f88d8b73ac23 Mon Sep 17 00:00:00 2001 From: Aaditya Sinha <75474786+aadityasinha-dotcom@users.noreply.github.com> Date: Fri, 19 May 2023 00:59:59 +0530 Subject: [PATCH] Clear contents of `log_text` after successfull backup (#1626) Currently the label `logText` is not cleared after a borg command finished. When creating a backup the label will show the path of the last backuped file even after backup completion. This changes that and clears `logText` after the backup. * src/vorta/borg/create.py (BorgCreateJob.process_result) --------- Co-authored-by: yfprojects <62463991+real-yfprojects@users.noreply.github.com> --- src/vorta/borg/create.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vorta/borg/create.py b/src/vorta/borg/create.py index 167a87b1..0eea27cc 100644 --- a/src/vorta/borg/create.py +++ b/src/vorta/borg/create.py @@ -49,6 +49,7 @@ def process_result(self, result): ).format(LOG_DIR.as_uri()) ) else: + self.app.backup_log_event.emit('', {}) self.app.backup_progress_event.emit(f"[{self.params['profile_name']}] {self.tr('Backup finished.')}") def progress_event(self, fmt):