bnc#885273
Index: virt-manager-1.1.0/virtManager/createnet.py
===================================================================
--- virt-manager-1.1.0.orig/virtManager/createnet.py
+++ virt-manager-1.1.0/virtManager/createnet.py
@@ -257,6 +257,8 @@ class vmmCreateNetwork(vmmGObjectUI):
try:
net = self._build_xmlstub()
net.name = self.widget("net-name").get_text()
+ if net.name == '':
+ return self.err.val_err(_("Invalid network name"), "")
except Exception, e:
return self.err.val_err(_("Invalid network name"), str(e))