Skip to content

Commit

Permalink
Merge pull request #237 from Nitrokey/update-fix
Browse files Browse the repository at this point in the history
always call show on progress-bar on update
  • Loading branch information
daringer authored Apr 30, 2024
2 parents 51efb8f + aa0cf3f commit a387a58
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nitrokeyapp/progress_box.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def hide(self) -> None:

@Slot(int)
def update(self, n: int, total: int) -> None:
self.progress_bar.show()
value = self.progress_bar.value()
if n >= total:
self.progress_bar.setValue(100)
Expand Down

0 comments on commit a387a58

Please sign in to comment.