Author: bugman Date: Sat Aug 6 16:22:53 2011 New Revision: 14200 URL: http://svn.gna.org/viewcvs/relax?rev=14200&view=rev Log: The pipe editor window is starting inactive if the execution lock is on. Modified: branches/gui_testing/gui/pipe_editor.py Modified: branches/gui_testing/gui/pipe_editor.py URL: http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/pipe_editor.py?rev=14200&r1=14199&r2=14200&view=diff ============================================================================== --- branches/gui_testing/gui/pipe_editor.py (original) +++ branches/gui_testing/gui/pipe_editor.py Sat Aug 6 16:22:53 2011 @@ -63,6 +63,9 @@ # Create GUI elements wx.Frame.__init__(self, None, id=-1, title="Data pipe editor") + # Freeze the window. + self.Freeze() + # Set up the window icon. self.SetIcons(relax_icons) @@ -100,11 +103,15 @@ # Update the grid. self.update_grid() + self.activate() # Register the grid for updating when a user function completes or when the GUI analysis tabs change. status.observers.pipe_alteration.register('pipe editor', self.update_grid) status.observers.gui_analysis.register('pipe editor', self.update_grid) status.observers.exec_lock.register('pipe editor', self.activate) + + # Thaw the window. + self.Thaw() def activate(self):