]> git.sur5r.net Git - bacula/bacula/commitdiff
A suggestion of Marc Schiffbauer, add created but not yet running.
authorDirk H Bartley <dbartley@schupan.com>
Wed, 4 Jun 2008 01:11:29 +0000 (01:11 +0000)
committerDirk H Bartley <dbartley@schupan.com>
Wed, 4 Jun 2008 01:11:29 +0000 (01:11 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7102 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/qt-console/joblist/joblist.cpp

index 5e5712d07d9c70da2ff1951e4c47989595b43a18..3bb8bfde99f0a6ec806d739c9edd8430825e75c8 100644 (file)
@@ -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);
       }
    }