mailr14584 - /1.3/gui/errors.py


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

Header


Content

Posted by edward on September 05, 2011 - 17:09:
Author: bugman
Date: Mon Sep  5 17:09:56 2011
New Revision: 14584

URL: http://svn.gna.org/viewcvs/relax?rev=14584&view=rev
Log:
Mac OS X bug fix - the busy cursor is only turned off in the gui_raise window 
code if the busy cursor is on.


Modified:
    1.3/gui/errors.py

Modified: 1.3/gui/errors.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/gui/errors.py?rev=14584&r1=14583&r2=14584&view=diff
==============================================================================
--- 1.3/gui/errors.py (original)
+++ 1.3/gui/errors.py Mon Sep  5 17:09:56 2011
@@ -46,7 +46,8 @@
         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()
+    if wx.IsBusy():
+        wx.EndBusyCursor()
 
     # Throw the error to terminate execution.
     if raise_flag:




Related Messages


Powered by MHonArc, Updated Mon Sep 05 17:40:02 2011