mailr14128 - /branches/gui_testing/gui/errors.py


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

Header


Content

Posted by edward on August 04, 2011 - 14:10:
Author: bugman
Date: Thu Aug  4 14:10:33 2011
New Revision: 14128

URL: http://svn.gna.org/viewcvs/relax?rev=14128&view=rev
Log:
The gui_raise() method now turns off the busy cursor if needed.


Modified:
    branches/gui_testing/gui/errors.py

Modified: branches/gui_testing/gui/errors.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/errors.py?rev=14128&r1=14127&r2=14128&view=diff
==============================================================================
--- branches/gui_testing/gui/errors.py (original)
+++ branches/gui_testing/gui/errors.py Thu Aug  4 14:10:33 2011
@@ -45,6 +45,9 @@
     if status.show_gui:
         wx.MessageBox(relax_error.text, 
caption=relax_error.__class__.__name__, style=wx.OK|wx.ICON_ERROR)
 
+    # Turn off the busy cursor if needed.
+    wx.EndBusyCursor()
+
     # Throw the error to terminate execution.
     if raise_flag:
         raise relax_error




Related Messages


Powered by MHonArc, Updated Thu Aug 04 14:40:01 2011