backups: start dom0 file browser with '/' as default
Do not suggest home directory as right place for backups. If the user chosen some block device, it will be used as default.
This commit is contained in:
parent
4f7d3451b2
commit
89280d0283
@ -235,7 +235,9 @@ def select_path_button_clicked(dialog, select_file = False):
|
||||
elif dialog.dev_mount_path != None:
|
||||
new_path = file_dialog_function(dialog, "Select backup location.", dialog.dev_mount_path)
|
||||
else:
|
||||
new_path = file_dialog_function(dialog, "Select backup location.", backup_location)
|
||||
new_path = file_dialog_function(dialog, "Select backup location.",
|
||||
backup_location if backup_location
|
||||
else '/')
|
||||
|
||||
if new_path != None:
|
||||
new_path = str(new_path)
|
||||
|
Loading…
Reference in New Issue
Block a user