]> git.sur5r.net Git - bacula/bacula/commitdiff
This condition lets the job selection work correctly by not including the
authorDirk H Bartley <dbartley@schupan.com>
Mon, 14 May 2007 18:13:43 +0000 (18:13 +0000)
committerDirk H Bartley <dbartley@schupan.com>
Mon, 14 May 2007 18:13:43 +0000 (18:13 +0000)
select option to the pre-restore command.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4784 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/qt-console/restore/prerestore.cpp

index 8823d5ceeb156279674c00d1ef476528d8871302..c16b07b14ce95e446dde4ca11fdbeec662f82e94 100644 (file)
@@ -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";
    }