5014504
commit f12f4ea1980e68a12129922f456f9275ee897f65
5014504
Author: Cole Robinson <crobinso@redhat.com>
5014504
Date:   Mon Feb 13 16:19:34 2012 -0500
5014504
5014504
    create: reshow shouldn't overwrite values in visible dialog
5014504
5014504
diff --git a/src/virtManager/create.py b/src/virtManager/create.py
5014504
index 56d4e27..4d02922 100644
5014504
--- a/src/virtManager/create.py
5014504
+++ b/src/virtManager/create.py
5014504
@@ -169,9 +169,11 @@ class vmmCreate(vmmGObjectUI):
5014504
 
5014504
     def show(self, parent, uri=None):
5014504
         logging.debug("Showing new vm wizard")
5014504
-        self.reset_state(uri)
5014504
 
5014504
-        self.topwin.set_transient_for(parent)
5014504
+        if not self.is_visible():
5014504
+            self.reset_state(uri)
5014504
+            self.topwin.set_transient_for(parent)
5014504
+
5014504
         self.topwin.present()
5014504
 
5014504
     def close(self, ignore1=None, ignore2=None):