mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-26 21:57:33 +03:00
addstorage: Don't pass None to widget.set_active()
Older pygobject can't handle it. Mentioned here: https://github.com/virt-manager/virt-manager/issues/188 Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
ac9316cce1
commit
e7222b5058
@ -310,7 +310,7 @@ class vmmAddStorage(vmmGObjectUI):
|
||||
detect_zeroes = disk.driver_detect_zeroes
|
||||
ro = disk.read_only
|
||||
share = disk.shareable
|
||||
removable = disk.removable
|
||||
removable = bool(disk.removable)
|
||||
serial = disk.serial
|
||||
|
||||
self.set_disk_bus(disk.bus)
|
||||
|
Loading…
x
Reference in New Issue
Block a user