From: Dirk H Bartley Date: Wed, 4 Jun 2008 01:11:29 +0000 (+0000) Subject: A suggestion of Marc Schiffbauer, add created but not yet running. X-Git-Tag: Release-7.0.0~4491 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d606d8c05635f78327802dbe33015f5339d9dcc7;p=bacula%2Fbacula A suggestion of Marc Schiffbauer, add created but not yet running. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7102 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/qt-console/joblist/joblist.cpp b/bacula/src/qt-console/joblist/joblist.cpp index 5e5712d07d..3bb8bfde99 100644 --- a/bacula/src/qt-console/joblist/joblist.cpp +++ b/bacula/src/qt-console/joblist/joblist.cpp @@ -385,7 +385,7 @@ void JobList::tableItemChanged(QTableWidgetItem *currentItem, QTableWidgetItem * jobitem = mp_tableWidget->item(row, m_statusIndex); QString status = jobitem->text(); mp_tableWidget->removeAction(actionCancelJob); - if (status == tr("Running")) { + if (status == tr("Running") || status == tr("Created, not yet running")) { mp_tableWidget->addAction(actionCancelJob); } }