diff --git a/qubesmanager/main.py b/qubesmanager/main.py index 5f578cc..0fa0cdc 100755 --- a/qubesmanager/main.py +++ b/qubesmanager/main.py @@ -189,8 +189,8 @@ class VmNetvmItem (QTableWidgetItem): def __init__(self, vm): super(VmNetvmItem, self).__init__() - if vm.is_netvm(): - self.setText("self") + if vm.is_netvm() and not vm.is_proxyvm(): + self.setText("n/a") elif vm.netvm_vm is not None: self.setText(vm.netvm_vm.name) else: @@ -199,7 +199,6 @@ class VmNetvmItem (QTableWidgetItem): self.setTextAlignment(Qt.AlignHCenter) - class VmUsageBarWidget (QWidget): class VmUsageBarItem (QTableWidgetItem):