Author: bugman Date: Mon Sep 26 16:19:07 2011 New Revision: 14757 URL: http://svn.gna.org/viewcvs/relax?rev=14757&view=rev Log: Another attempt at handling the pipe editor window updates. This fixes the test suite test_load_state_no_gui() GUI test. The pipe window update needs to have all pending wx events flushed so that the pipe window is up to date before emulating a pop up menu. Modified: 1.3/gui/pipe_editor.py Modified: 1.3/gui/pipe_editor.py URL: http://svn.gna.org/viewcvs/relax/1.3/gui/pipe_editor.py?rev=14757&r1=14756&r2=14757&view=diff ============================================================================== --- 1.3/gui/pipe_editor.py (original) +++ 1.3/gui/pipe_editor.py Mon Sep 26 16:19:07 2011 @@ -439,6 +439,9 @@ # Thread safe. wx.CallAfter(self.update_grid_safe) + # Flush the events. + wx.SafeYield(None, True) + def update_grid_safe(self): """Update the grid with the pipe data."""