From c992fc0f48d5851ffdfd3ce1e16ffc46e5135744 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Tue, 9 Sep 2014 21:59:54 +0200 Subject: [PATCH] settings: fix drive path setting (#897) --- qubesmanager/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qubesmanager/settings.py b/qubesmanager/settings.py index b2f653a..1b783af 100755 --- a/qubesmanager/settings.py +++ b/qubesmanager/settings.py @@ -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):