mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
details: Fix listing static HW pages
This commit is contained in:
parent
8ce479f7f8
commit
7bb98c3be2
@ -3604,7 +3604,7 @@ class vmmDetails(vmmGObjectUI):
|
|||||||
olddev = hw_list_model[i][HW_LIST_COL_DEVICE]
|
olddev = hw_list_model[i][HW_LIST_COL_DEVICE]
|
||||||
|
|
||||||
# Existing device, don't remove it
|
# Existing device, don't remove it
|
||||||
if not olddev or olddev in currentDevices:
|
if type(olddev) is str or olddev in currentDevices:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
hw_list_model.remove(_iter)
|
hw_list_model.remove(_iter)
|
||||||
|
Loading…
Reference in New Issue
Block a user