mailr16412 - /branches/uf_redesign/gui/uf_objects.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on May 23, 2012 - 10:03:
Author: bugman
Date: Wed May 23 10:03:01 2012
New Revision: 16412

URL: http://svn.gna.org/viewcvs/relax?rev=16412&view=rev
Log:
Fix for the logic in the recycling of old user function wizards.


Modified:
    branches/uf_redesign/gui/uf_objects.py

Modified: branches/uf_redesign/gui/uf_objects.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/uf_redesign/gui/uf_objects.py?rev=16412&r1=16411&r2=16412&view=diff
==============================================================================
--- branches/uf_redesign/gui/uf_objects.py (original)
+++ branches/uf_redesign/gui/uf_objects.py Wed May 23 10:03:01 2012
@@ -168,8 +168,7 @@
             parent = app.gui
 
         # Do not reuse an old wizard (checking that the parent of an old 
wizard is not the same).
-        if self.wizard != None and parent != self.wizard.GetParent():
-            prin
+        if self.wizard == None or parent != self.wizard.GetParent():
             # Create the wizard dialog.
             self.wizard = Wiz_window(parent=parent, size_x=self._size[0], 
size_y=self._size[1], title=self._title)
 




Related Messages


Powered by MHonArc, Updated Wed May 23 11:20:02 2012