create: Don't reset method choice when arch changes if it's still valid
This commit is contained in:
parent
d12c986b98
commit
dd57f2f221
|
@ -465,10 +465,12 @@ class vmmCreate(vmmGObjectUI):
|
|||
local_tt = msg
|
||||
pxe_tt = msg
|
||||
|
||||
for w in virt_methods:
|
||||
if w.get_sensitive():
|
||||
w.set_active(True)
|
||||
break
|
||||
if not any([w.get_active() and w.get_sensitive()
|
||||
for w in virt_methods]):
|
||||
for w in virt_methods:
|
||||
if w.get_sensitive():
|
||||
w.set_active(True)
|
||||
break
|
||||
|
||||
if not (is_container or
|
||||
[w for w in virt_methods if w.get_sensitive()]):
|
||||
|
|
Loading…
Reference in New Issue