mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 09:03:07 +02:00
Always show the percent completion for finished jobs as a 100%
This commit is contained in:
parent
2abf0d2f0e
commit
41de18c014
1 changed files with 2 additions and 1 deletions
|
|
@ -73,7 +73,8 @@ def data(self, index, role):
|
|||
if col == 1:
|
||||
return QVariant(job.status_text)
|
||||
if col == 2:
|
||||
return QVariant(job.percent)
|
||||
p = 100. if job.is_finished else job.percent
|
||||
return QVariant(p)
|
||||
if col == 3:
|
||||
rtime = job.running_time
|
||||
if rtime is None:
|
||||
|
|
|
|||
Loading…
Reference in a new issue