Author: bugman Date: Wed Aug 10 19:03:27 2011 New Revision: 14321 URL: http://svn.gna.org/viewcvs/relax?rev=14321&view=rev Log: Saving the relax state from the GUI now shows the busy cursor for user feedback. After MC sims saving the state can take a few seconds with the GUI frozen, so this feedback is necessary. 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=14321&r1=14320&r2=14321&view=diff ============================================================================== --- branches/gui_testing/gui/relax_gui.py (original) +++ branches/gui_testing/gui/relax_gui.py Wed Aug 10 19:03:27 2011 @@ -561,8 +561,12 @@ # Update the data store to match the GUI. self.sync_ds(upload=True) - # Save the relax state. - state.save_state(self.save_file, verbosity=0, force=True) + # Save the relax state (with save user feedback). + try: + wx.BeginBusyCursor() + state.save_state(self.save_file, verbosity=0, force=True) + finally: + wx.EndBusyCursor() def sync_ds(self, upload=False):