Merge remote-tracking branch 'qubesos/pr/71'
* qubesos/pr/71: Fixed bug 3594
This commit is contained in:
commit
fb8b19af81
@ -101,8 +101,10 @@ class BackupVMsWindow(ui_backupdlg.Ui_Backup, multiselectwidget.QtGui.QWizard):
|
|||||||
self.qubes_app,
|
self.qubes_app,
|
||||||
None,
|
None,
|
||||||
self.qubes_app.domains['dom0'],
|
self.qubes_app.domains['dom0'],
|
||||||
(lambda vm: vm.klass != 'TemplateVM' and vm.is_running()),
|
filter_function=(lambda vm:
|
||||||
allow_internal=False,
|
vm.klass != 'TemplateVM'
|
||||||
|
and vm.is_running()
|
||||||
|
and not vm.features.get('internal', False)),
|
||||||
allow_default=False,
|
allow_default=False,
|
||||||
allow_none=False
|
allow_none=False
|
||||||
)
|
)
|
||||||
@ -236,7 +238,7 @@ class BackupVMsWindow(ui_backupdlg.Ui_Backup, multiselectwidget.QtGui.QWizard):
|
|||||||
None, self.tr("Wait!"),
|
None, self.tr("Wait!"),
|
||||||
self.tr("Enter backup target location first."))
|
self.tr("Enter backup target location first."))
|
||||||
return False
|
return False
|
||||||
if self.appvm_combobox.currentIndex() == 0 \
|
if self.appvm_combobox.currentText() == "dom0" \
|
||||||
and not os.path.isdir(backup_location):
|
and not os.path.isdir(backup_location):
|
||||||
QtGui.QMessageBox.information(
|
QtGui.QMessageBox.information(
|
||||||
None, self.tr("Wait!"),
|
None, self.tr("Wait!"),
|
||||||
|
Loading…
Reference in New Issue
Block a user