virt-manager: display error on an empty installation URL

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1086529

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
Giuseppe Scrivano
2014-04-17 12:00:09 +02:00
parent 06e480c847
commit b20462d861

View File

@@ -1314,7 +1314,8 @@ class vmmCreate(vmmGObjectUI):
if self.have_startup_error:
return
if curpage == PAGE_INSTALL and self.should_detect_media():
if (curpage == PAGE_INSTALL and self.should_detect_media()
and self.get_config_detectable_media()):
# Make sure we have detected the OS before validating the page
self.detect_media_os(forward=True)
return