From: Dirk H Bartley Date: Mon, 14 May 2007 18:13:43 +0000 (+0000) Subject: This condition lets the job selection work correctly by not including the X-Git-Tag: Release-7.0.0~6347 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e658c09eecd1781779248177f20a1a21467033c6;p=bacula%2Fbacula This condition lets the job selection work correctly by not including the select option to the pre-restore command. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4784 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/qt-console/restore/prerestore.cpp b/bacula/src/qt-console/restore/prerestore.cpp index 8823d5ceeb..c16b07b14c 100644 --- a/bacula/src/qt-console/restore/prerestore.cpp +++ b/bacula/src/qt-console/restore/prerestore.cpp @@ -148,10 +148,11 @@ void prerestorePage::okButtonPushed() cmd += " before=\"" + before + "\""; } } else { - cmd += "jobid=\"" + jobIdEdit->text() + "\""; + cmd += " jobid=\"" + jobIdEdit->text() + "\""; } if (selectFilesRadio->isChecked()) { - cmd += " select"; + if (!listJobsRadio->isChecked()) + cmd += " select"; } else { cmd += " all done"; }