From e658c09eecd1781779248177f20a1a21467033c6 Mon Sep 17 00:00:00 2001 From: Dirk H Bartley Date: Mon, 14 May 2007 18:13:43 +0000 Subject: [PATCH] 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 --- bacula/src/qt-console/restore/prerestore.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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"; } -- 2.39.5