Now also for "restart job" dialog: Only check "Run Immediately" initially when maximum running job count was not reached yet.
This commit is contained in:
parent
4f88c5bda7
commit
4c76729c4b
@ -334,7 +334,7 @@ void MainWindow::restartButtonPressed(void)
|
||||
|
||||
if((options) && (!sourceFileName.isEmpty()) && (!outputFileName.isEmpty()))
|
||||
{
|
||||
bool runImmediately = true;
|
||||
bool runImmediately = (countRunningJobs() < (m_preferences->autoRunNextJob() ? m_preferences->maxRunningJobCount() : 1)); //bool runImmediately = true;
|
||||
OptionsModel *tempOptions = new OptionsModel(*options);
|
||||
if(createJob(sourceFileName, outputFileName, tempOptions, runImmediately, true))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user