mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
Update the ID column on each refresh, in case a domain started/stopped (ie its id changes)
This commit is contained in:
@@ -313,6 +313,10 @@ class vmmManager(gobject.GObject):
|
||||
|
||||
row = self.rows[vm.get_uuid()]
|
||||
# Handle, name, ID, status, status icon, cpu, cpu graph, vcpus, mem, mem bar
|
||||
if vm.get_id() == -1:
|
||||
row[2] = "-"
|
||||
else:
|
||||
row[2] = vm.get_id()
|
||||
row[3] = vm.run_status()
|
||||
row[4] = vm.run_status_icon()
|
||||
row[5] = vm.cpu_time_pretty()
|
||||
|
||||
Reference in New Issue
Block a user