Skip to content

Commit

Permalink
always call show on progress-bar on update
Browse files Browse the repository at this point in the history
  • Loading branch information
daringer committed Apr 24, 2024
1 parent 974c548 commit aa0cf3f
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 aa0cf3f

Please sign in to comment.