Author: bugman Date: Fri Jul 15 14:45:42 2011 New Revision: 13651 URL: http://svn.gna.org/viewcvs/relax?rev=13651&view=rev Log: Simplified the setting of a busy cursor when loading a save state via wx.BeginBusyCursor(). Modified: branches/gui_testing/gui/relax_gui.py Modified: branches/gui_testing/gui/relax_gui.py URL: http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/relax_gui.py?rev=13651&r1=13650&r2=13651&view=diff ============================================================================== --- branches/gui_testing/gui/relax_gui.py (original) +++ branches/gui_testing/gui/relax_gui.py Fri Jul 15 14:45:42 2011 @@ -454,8 +454,7 @@ wx.Yield() # Change the cursor to waiting. - orig_cursor = self.GetCursor() - self.SetCursor(wx.StockCursor(wx.CURSOR_ARROWWAIT)) + wx.BeginBusyCursor() # Delete the current tabs. self.analysis.delete_all() @@ -476,7 +475,7 @@ self.sync_ds(upload=False) # Reset the cursor. - self.SetCursor(orig_cursor) + wx.EndBusyCursor() def state_save(self):