settings: fix drive path setting (#897)

This commit is contained in:
Marek Marczykowski-Górecki 2014-09-09 21:59:54 +02:00
parent 9dda1e32cd
commit c992fc0f48

View File

@ -643,8 +643,8 @@ class VMSettingsWindow(Ui_SettingsDialog, QDialog):
backend_vm = self.qvm_collection.get_vm_by_name(drv_domain)
if backend_vm:
new_path = get_path_for_vm(backend_vm, "qubes.SelectFile")
if new_path:
self.drive_path.setText(new_path)
if new_path:
self.drive_path.setText(new_path)
######## devices tab
def __init_devices_tab__(self):