From 351225a4b3ddbfd834859531d09adac434228e16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sun, 3 May 2015 20:28:45 +0200 Subject: [PATCH] Fix resuming VMs (#981) Fixes qubesos/qubes-issues#981 --- qubesmanager/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubesmanager/main.py b/qubesmanager/main.py index 4abe5bc..d8e3eb1 100755 --- a/qubesmanager/main.py +++ b/qubesmanager/main.py @@ -1093,7 +1093,7 @@ class VmManagerWindow(Ui_VmManagerWindow, QMainWindow): @pyqtSlot(name='on_action_resumevm_triggered') def action_resumevm_triggered(self): vm = self.get_selected_vm() - assert not vm.is_running() + assert not vm.is_running() or vm.is_paused() if vm.is_paused(): try: