Subject: createnet: validate last page before creating the network From: Giuseppe Scrivano gscrivan@redhat.com Wed Jun 25 12:35:46 2014 +0200 Date: Thu Jun 26 15:26:37 2014 +0200: Git: f109b1ed6fc93c1c74675d047affc0fe57ae7243 On the last page in the createnet wizard the Next button is changed to Finish. Ensure the user input is validated also on this page. Signed-off-by: Giuseppe Scrivano 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 @@ -746,6 +746,9 @@ class vmmCreateNetwork(vmmGObjectUI): net.install() def finish(self, ignore): + if not self.validate(PAGE_MAX): + return + try: net = self._build_xmlobj() except Exception, e: