create: reshow shouldn't overwrite values in visible dialog
This commit is contained in:
parent
fbef52dbfe
commit
f12f4ea198
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue