/*
Bacula® - The Network Backup Solution
- Copyright (C) 2007-20087 Free Software Foundation Europe e.V.
+ Copyright (C) 2007-2008 Free Software Foundation Europe e.V.
The main author of Bacula is Kern Sibbald, with contributions from
many others, a complete list can be found in the file AUTHORS.
cmd += " fileset=\"" + filesetCombo->currentText() + "\"";
cmd += " client=\"" + clientCombo->currentText() + "\"";
if (selectJobRadio->isChecked()) {
- if (poolCombo->currentText() != "Any" ){
+ if (poolCombo->currentText() != tr("Any") ){
cmd += " pool=\"" + poolCombo->currentText() + "\"";
}
cmd += " storage=\"" + storageCombo->currentText() + "\"";
Pmsg1(000, "preRestore command \'%s\'\n", cmd.toUtf8().data());
}
m_console->write_dir(cmd.toUtf8().data());
-// consoleCommand(cmd);
/* Note, do not turn notifier back on here ... */
if (selectFilesRadio->isChecked()) {
setConsoleCurrent();
-// new restorePage();
closeStackPage();
} else {
closeStackPage();
if (m_console->get_job_defaults(job_defs)) {
filesetCombo->setCurrentIndex(filesetCombo->findText(job_defs.fileset_name, Qt::MatchExactly));
clientCombo->setCurrentIndex(clientCombo->findText(job_defs.client_name, Qt::MatchExactly));
- poolCombo->setCurrentIndex(poolCombo->findText(job_defs.pool_name, Qt::MatchExactly));
+ poolCombo->setCurrentIndex(poolCombo->findText(tr("Any"), Qt::MatchExactly));
storageCombo->setCurrentIndex(storageCombo->findText(job_defs.store_name, Qt::MatchExactly));
}
}