From: Dirk H Bartley Date: Sat, 30 May 2009 18:45:18 +0000 (+0000) Subject: Somehow I was losing the refresh jobs action. This should keep it in. X-Git-Tag: Release-3.0.2~191 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=176eb3ef0040f7e59acd14595b25119000b48ae9;p=bacula%2Fbacula Somehow I was losing the refresh jobs action. This should keep it in. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8875 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/qt-console/jobs/jobs.cpp b/bacula/src/qt-console/jobs/jobs.cpp index a1189df9cf..47b688b4b1 100644 --- a/bacula/src/qt-console/jobs/jobs.cpp +++ b/bacula/src/qt-console/jobs/jobs.cpp @@ -113,7 +113,6 @@ void Jobs::populateTable() jobsItem.setTextFld(col++, job_defs.catalog_name); jobsItem.setBoolFld(col++, job_defs.enabled); jobsItem.setTextFld(col++, job_defs.where); - } row++; } @@ -173,6 +172,7 @@ void Jobs::tableItemChanged(QTableWidgetItem *currentwidgetitem, QTableWidgetIte if (m_currentlyselected.length() != 0) { /* set a hold variable to the client name in case the context sensitive * menu is used */ + tableWidget->addAction(actionRefreshJobs); tableWidget->addAction(actionConsoleListFiles); tableWidget->addAction(actionConsoleListVolumes); tableWidget->addAction(actionConsoleListNextVolume);