mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-13 13:17:57 +03:00
details: hiding removebutton for USB controller
commit 4c53debd8a
break hiding "config-remove" for USB controller.
This patch will fix this issue.
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
This commit is contained in:
parent
1d312a520e
commit
86fc54be8e
@ -3039,7 +3039,7 @@ class vmmDetails(vmmGObjectUI):
|
||||
model.append(["ich9-ehci1", "USB 2"])
|
||||
model.append(["nec-xhci", "USB 3"])
|
||||
self.widget("config-remove").set_sensitive(False)
|
||||
if dev.type == virtinst.VirtualController.TYPE_SCSI:
|
||||
elif dev.type == virtinst.VirtualController.TYPE_SCSI:
|
||||
model.append(["default", "Default"])
|
||||
model.append(["virtio-scsi", "VirtIO SCSI"])
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user