mailr15725 - /1.3/gui/relax_gui.py


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

Header


Content

Posted by edward on April 16, 2012 - 15:15:
Author: bugman
Date: Mon Apr 16 15:15:55 2012
New Revision: 15725

URL: http://svn.gna.org/viewcvs/relax?rev=15725&view=rev
Log:
Improved the user feedback during a state save by just sleeping a little to 
show the busy cursor.


Modified:
    1.3/gui/relax_gui.py

Modified: 1.3/gui/relax_gui.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/gui/relax_gui.py?rev=15725&r1=15724&r2=15725&view=diff
==============================================================================
--- 1.3/gui/relax_gui.py (original)
+++ 1.3/gui/relax_gui.py Mon Apr 16 15:15:55 2012
@@ -696,6 +696,11 @@
         try:
             wx.BeginBusyCursor()
             state.save_state(self.save_file, verbosity=0, force=True)
+
+            # Sleep a little so the user sees the busy cursor and knows that 
a save has occurred!
+            sleep(1)
+
+        # Turn off the user feedback.
         finally:
             if wx.IsBusy():
                 wx.EndBusyCursor()




Related Messages


Powered by MHonArc, Updated Mon Apr 16 15:20:01 2012