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]
|
||||
|
||||
# Existing device, don't remove it
|
||||
if not olddev or olddev in currentDevices:
|
||||
if type(olddev) is str or olddev in currentDevices:
|
||||
continue
|
||||
|
||||
hw_list_model.remove(_iter)
|
||||
|
|
Loading…
Reference in New Issue