Skip to content

Commit

Permalink
kde/apport-kde: Ensure integer for progress dialog
Browse files Browse the repository at this point in the history
When displaying a progress dialog ensure that we are using an integer.

Import change from apport 2.20.11-0ubuntu79.

LP: #1964405
  • Loading branch information
murraybd committed Mar 11, 2022
1 parent ce3849c commit 57c674a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kde/apport-kde
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ class ProgressDialog(Dialog):
progress.setRange(0, 0)
progress.setValue(0)
else:
value = int(value)
progress.setRange(0, 1000)
progress.setValue(value * 1000)

Expand Down

0 comments on commit 57c674a

Please sign in to comment.