2014-07-01 21:11:34 +02:00
|
|
|
bnc#885273
|
|
|
|
|
|
|
|
Index: virt-manager-1.0.1/virtManager/createnet.py
|
|
|
|
===================================================================
|
|
|
|
--- virt-manager-1.0.1.orig/virtManager/createnet.py
|
|
|
|
+++ virt-manager-1.0.1/virtManager/createnet.py
|
2014-08-11 23:36:23 +02:00
|
|
|
@@ -253,6 +253,8 @@ class vmmCreateNetwork(vmmGObjectUI):
|
2014-07-01 21:11:34 +02:00
|
|
|
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))
|
|
|
|
|