mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
create: Fix backtrace when showing all OS options
This commit is contained in:
parent
8f6b1f977b
commit
2eb2397527
@ -801,7 +801,7 @@ class vmmCreate(vmmGObjectUI):
|
|||||||
def populate_os_variant_model(self, _type):
|
def populate_os_variant_model(self, _type):
|
||||||
model = self.widget("install-os-version").get_model()
|
model = self.widget("install-os-version").get_model()
|
||||||
model.clear()
|
model.clear()
|
||||||
if _type == None:
|
if not _type:
|
||||||
self._add_os_row(model, None, _("Generic"), True)
|
self._add_os_row(model, None, _("Generic"), True)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user