create: reshow shouldn't overwrite values in visible dialog

This commit is contained in:
Cole Robinson 2012-02-13 16:19:34 -05:00
parent fbef52dbfe
commit f12f4ea198
1 changed files with 4 additions and 2 deletions

View File

@ -169,9 +169,11 @@ class vmmCreate(vmmGObjectUI):
def show(self, parent, uri=None):
logging.debug("Showing new vm wizard")
self.reset_state(uri)
if not self.is_visible():
self.reset_state(uri)
self.topwin.set_transient_for(parent)
self.topwin.present()
def close(self, ignore1=None, ignore2=None):