diff --git a/qubesmanager/main.py b/qubesmanager/main.py index 5c99615..feacd49 100755 --- a/qubesmanager/main.py +++ b/qubesmanager/main.py @@ -105,7 +105,7 @@ class VmInfoWidget (QWidget): layout1 = QHBoxLayout() if vm.is_appvm() or vm.is_disposablevm(): - label_tmpl = QLabel ("" + vm.template_vm.name + "") + label_tmpl = QLabel ("" + (vm.template_vm.name if vm.template_vm is not None else "--") + "") elif vm.is_template(): label_tmpl = QLabel ("TemplateVM") elif vm.qid == 0: