diff --git a/virtManager/create.py b/virtManager/create.py index 321153c87..302f17ed4 100644 --- a/virtManager/create.py +++ b/virtManager/create.py @@ -173,7 +173,8 @@ class vmmCreate(vmmGObjectUI): self.topwin.present() def close(self, ignore1=None, ignore2=None): - logging.debug("Closing new vm wizard") + if self.is_visible(): + logging.debug("Closing new vm wizard") self.topwin.hide() if self.config_window: