diff --git a/qubesmanager/qube_manager.py b/qubesmanager/qube_manager.py index 4901fa2..a45043f 100644 --- a/qubesmanager/qube_manager.py +++ b/qubesmanager/qube_manager.py @@ -1264,9 +1264,9 @@ class VmManagerWindow(ui_qubemanager.Ui_VmManagerWindow, QMainWindow): for connected_vm in connected_vms: if not self.shutdown_vm(connected_vm): return False - with common_threads.busy_cursor(): - while connected_vm.is_running(): - time.sleep(0.5) + with common_threads.busy_cursor(): + while connected_vm.is_running(): + time.sleep(0.5) else: return False