create: Invalid os lookup should be a validation error dialog

This commit is contained in:
Cole Robinson 2015-08-10 13:02:27 -04:00
parent 55b43dcbb8
commit 473eaf4aa5

View File

@ -1403,7 +1403,7 @@ class vmmCreate(vmmGObjectUI):
if variant:
guest.os_variant = variant
except ValueError, e:
self.err.show_err(_("Error setting OS information."), str(e))
self.err.val_err(_("Error setting OS information."), str(e))
return None
if guest.os.is_arm64():