From 523670b900da5dc414fa4c2f239229f7fea3d250 Mon Sep 17 00:00:00 2001 From: Dirk H Bartley Date: Wed, 4 Jun 2008 01:11:29 +0000 Subject: [PATCH] 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 --- bacula/src/qt-console/joblist/joblist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- 2.39.5