Fix: a running client is not the same has rendering client

This commit is contained in:
Laurent Clouet
2023-09-09 13:19:21 +02:00
parent 4deda4faf9
commit 6162aa58d0

View File

@@ -519,7 +519,7 @@ public class Working implements Activity {
}
private int getJobsQueueSize(Client client) {
return client.getUploadQueueSize() + (client.isRunning() ? 1 : 0);
return client.getUploadQueueSize() + (client.getRenderingJob() != null ? 1 : 0);
}
class PauseAction implements ActionListener {