diff --git a/qubesmanager/main.py b/qubesmanager/main.py index eeb5e70..f4f264a 100755 --- a/qubesmanager/main.py +++ b/qubesmanager/main.py @@ -104,8 +104,10 @@ class VmInfoWidget (QWidget): layout1 = QHBoxLayout() - if vm.is_appvm() or vm.is_disposablevm(): - self.label_tmpl = QLabel ("" + (vm.template_vm.name if vm.template_vm is not None else "--") + "") + if vm.template_vm is not None: + self.label_tmpl = QLabel ("" + (vm.template_vm.name) + "") + elif vm.is_appvm(): # and vm.template_vm is None + self.label_tmpl = QLabel ("StandaloneVM") elif vm.is_template(): self.label_tmpl = QLabel ("TemplateVM") elif vm.qid == 0: