mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-27 14:03:57 +03:00
addhw: Fix cache default again :/
This commit is contained in:
parent
8f1ea67cad
commit
023953d4ac
@ -363,8 +363,8 @@ def build_cache_combo(vm, combo):
|
||||
for m in virtinst.VirtualDisk.cache_types:
|
||||
model.append([m, m])
|
||||
|
||||
model.insert(0, [None, "default"])
|
||||
combo.set_active(len(model) - 1)
|
||||
_iter = model.insert(0, [None, "default"])
|
||||
combo.set_active_iter(_iter)
|
||||
|
||||
|
||||
def build_io_combo(vm, combo, no_default=False):
|
||||
|
Loading…
x
Reference in New Issue
Block a user