mailr13693 - /branches/gui_testing/generic_fns/reset.py


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

Header


Content

Posted by edward on July 18, 2011 - 15:14:
Author: bugman
Date: Mon Jul 18 15:14:26 2011
New Revision: 13693

URL: http://svn.gna.org/viewcvs/relax?rev=13693&view=rev
Log:
Fix for the reset() function while in GUI mode - the status.show_gui flag is 
preserved.


Modified:
    branches/gui_testing/generic_fns/reset.py

Modified: branches/gui_testing/generic_fns/reset.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/generic_fns/reset.py?rev=13693&r1=13692&r2=13693&view=diff
==============================================================================
--- branches/gui_testing/generic_fns/reset.py (original)
+++ branches/gui_testing/generic_fns/reset.py Mon Jul 18 15:14:26 2011
@@ -31,5 +31,7 @@
     # Run the relax data storage object reset method.
     ds.__reset__()
 
-    # Re-setup the status object.
+    # Re-setup the status object, preserving a few flags.
+    show_gui = status.show_gui
     status._setup()
+    status.show_gui = show_gui




Related Messages


Powered by MHonArc, Updated Mon Jul 18 15:40:02 2011