Browse Source

Set progress of backup message to 100% when done

CURA-7150
Nino van Hooff 5 years ago
parent
commit
6db8a9ec3e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      plugins/CuraDrive/src/CreateBackupJob.py

+ 1 - 0
plugins/CuraDrive/src/CreateBackupJob.py

@@ -65,6 +65,7 @@ class CreateBackupJob(Job):
         self._job_done.wait()
         if self.backup_upload_error_message == "":
             upload_message.setText(catalog.i18nc("@info:backup_status", "Your backup has finished uploading."))
+            upload_message.setProgress(upload_message.getMaxProgress())
         else:
             # some error occurred. This error is presented to the user by DrivePluginExtension
             upload_message.hide()