Author: bugman Date: Mon Sep 26 14:07:02 2011 New Revision: 14751 URL: http://svn.gna.org/viewcvs/relax?rev=14751&view=rev Log: Bug fix for racing in the GUI on MS Windows when the relax prompt window is open. This was caught in the test suite, and only affects MS Windows. Now a wx.CallAfter() call is used to enable the GUI element. Modified: 1.3/gui/relax_prompt.py Modified: 1.3/gui/relax_prompt.py URL: http://svn.gna.org/viewcvs/relax/1.3/gui/relax_prompt.py?rev=14751&r1=14750&r2=14751&view=diff ============================================================================== --- 1.3/gui/relax_prompt.py (original) +++ 1.3/gui/relax_prompt.py Mon Sep 26 14:07:02 2011 @@ -112,7 +112,7 @@ enable = True # Enable/disable. - self.prompt.Enable(enable) + wx.CallAfter(self.prompt.Enable, enable) def handler_close(self, event):