mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Always show the percent completion for finished jobs as a 100%
This commit is contained in:
parent
2abf0d2f0e
commit
41de18c014
@ -73,7 +73,8 @@ class JobManager(QAbstractTableModel):
|
|||||||
if col == 1:
|
if col == 1:
|
||||||
return QVariant(job.status_text)
|
return QVariant(job.status_text)
|
||||||
if col == 2:
|
if col == 2:
|
||||||
return QVariant(job.percent)
|
p = 100. if job.is_finished else job.percent
|
||||||
|
return QVariant(p)
|
||||||
if col == 3:
|
if col == 3:
|
||||||
rtime = job.running_time
|
rtime = job.running_time
|
||||||
if rtime is None:
|
if rtime is None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user