details: Fix listing static HW pages

This commit is contained in:
Cole Robinson 2013-04-17 13:01:30 -04:00
parent 8ce479f7f8
commit 7bb98c3be2

View File

@ -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)