Skip to content

Commit

Permalink
Fix for progress bar jumping backward with multi-file
Browse files Browse the repository at this point in the history
  • Loading branch information
jramboz committed May 13, 2024
1 parent c06e46d commit b59a318
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ def _upload_next_file(self):
self.log.debug(f'File path: {file}')
self.display.fileNameLabel.setText(f'File: {os.path.basename(file)}')

self.display.fileProgressBar.setValue(0)
self.display.set_file_size(os.path.getsize(file))
worker = Worker(self.sc.write_files_to_saber, [file])
worker.signals.progress.connect(self.display.fileProgressBar.setValue)
Expand Down

0 comments on commit b59a318

Please sign in to comment.