mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-25 23:21:45 +03:00
details: Properly update disk names after device removal
This commit is contained in:
parent
93b4d82c77
commit
01d78647c5
@ -1804,8 +1804,10 @@ class vmmDetails(gobject.GObject):
|
||||
for row in hw_list_model:
|
||||
if (row[HW_LIST_COL_TYPE] == hwtype and
|
||||
row[HW_LIST_COL_DEVICE][2] == info[2]):
|
||||
|
||||
# Update existing HW info
|
||||
row[HW_LIST_COL_DEVICE] = info
|
||||
row[HW_LIST_COL_LABEL] = name
|
||||
return
|
||||
|
||||
if row[HW_LIST_COL_TYPE] <= hwtype:
|
||||
|
Loading…
Reference in New Issue
Block a user