mailr17219 - /trunk/gui/relax_gui.py


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

Header


Content

Posted by edward on July 10, 2012 - 11:55:
Author: bugman
Date: Tue Jul 10 11:55:00 2012
New Revision: 17219

URL: http://svn.gna.org/viewcvs/relax?rev=17219&view=rev
Log:
The GUI show_pipe_editor() method is now the place where the methods are 
registered with the observers.

This is a partial bug fix for the GUI tests.  The hiding mechanism of the 
window with unregistration
requires this.


Modified:
    trunk/gui/relax_gui.py

Modified: trunk/gui/relax_gui.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/gui/relax_gui.py?rev=17219&r1=17218&r2=17219&view=diff
==============================================================================
--- trunk/gui/relax_gui.py (original)
+++ trunk/gui/relax_gui.py Tue Jul 10 11:55:00 2012
@@ -664,6 +664,9 @@
         if status.show_gui and not self.pipe_editor.IsShown():
             self.pipe_editor.Show()
 
+        # Register the grid for updating when a user function completes or 
when the GUI analysis tabs change (needed here for the window hiding and 
associated unregistering).
+        self.pipe_editor.observer_setup(register=True)
+
 
     def show_prompt(self, event=None):
         """Display the relax prompt window.




Related Messages


Powered by MHonArc, Updated Tue Jul 10 12:40:01 2012