backups: default path on block device only on backup, not restore
On restore the user must point which backup want to use.
This commit is contained in:
parent
26d4f67963
commit
02ac37c316
@ -181,12 +181,12 @@ def dev_combobox_activated(dialog, idx):
|
|||||||
|
|
||||||
dialog.prev_dev_idx = idx
|
dialog.prev_dev_idx = idx
|
||||||
|
|
||||||
if dialog.dev_mount_path != None:
|
if hasattr(dialog, 'selected_vms'):
|
||||||
# Initialize path with root of mounted device
|
# backup window
|
||||||
dialog.dir_line_edit.setText(dialog.dev_mount_path)
|
if dialog.dev_mount_path != None:
|
||||||
|
# Initialize path with root of mounted device
|
||||||
dialog.select_dir_page.emit(SIGNAL("completeChanged()"))
|
dialog.dir_line_edit.setText(dialog.dev_mount_path)
|
||||||
|
dialog.select_dir_page.emit(SIGNAL("completeChanged()"))
|
||||||
|
|
||||||
def select_path_button_clicked(dialog, select_file = False):
|
def select_path_button_clicked(dialog, select_file = False):
|
||||||
backup_location = str(dialog.dir_line_edit.text())
|
backup_location = str(dialog.dir_line_edit.text())
|
||||||
|
Loading…
Reference in New Issue
Block a user