Author: bugman Date: Mon Aug 1 10:52:42 2011 New Revision: 14025 URL: http://svn.gna.org/viewcvs/relax?rev=14025&view=rev Log: A busy cursor is now shown while waiting for the new analysis wizard. Modified: branches/gui_testing/gui/analyses/wizard.py Modified: branches/gui_testing/gui/analyses/wizard.py URL: http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/analyses/wizard.py?rev=14025&r1=14024&r2=14025&view=diff ============================================================================== --- branches/gui_testing/gui/analyses/wizard.py (original) +++ branches/gui_testing/gui/analyses/wizard.py Mon Aug 1 10:52:42 2011 @@ -45,6 +45,10 @@ @rtype: tuple of str """ + # Change the cursor to busy. + wx.Yield() + wx.BeginBusyCursor() + # Set up the wizard. self.wizard = Wiz_window(size_x=850, size_y=700, title='Set parameter values') @@ -55,6 +59,9 @@ # Add the data pipe name panel. self.pipe_page = Data_pipe_page(self.wizard) self.wizard.add_page(self.pipe_page, apply_button=False) + + # Reset the cursor. + wx.EndBusyCursor() # Execute the wizard. setup = self.wizard.run(modal=True)