mailr13652 - /branches/gui_testing/gui/analyses/auto_noe.py


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

Header


Content

Posted by edward on July 15, 2011 - 15:40:
Author: bugman
Date: Fri Jul 15 15:40:35 2011
New Revision: 13652

URL: http://svn.gna.org/viewcvs/relax?rev=13652&view=rev
Log:
The busy cursor now appears between clicking on 'Add' and the NOE peak 
intensity wizard appearing.


Modified:
    branches/gui_testing/gui/analyses/auto_noe.py

Modified: branches/gui_testing/gui/analyses/auto_noe.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/analyses/auto_noe.py?rev=13652&r1=13651&r2=13652&view=diff
==============================================================================
--- branches/gui_testing/gui/analyses/auto_noe.py (original)
+++ branches/gui_testing/gui/analyses/auto_noe.py Fri Jul 15 15:40:35 2011
@@ -329,6 +329,9 @@
         @type event:    wx event
         """
 
+        # Change the cursor to waiting.
+        wx.BeginBusyCursor()
+
         # First check that at least a single spin is named!
         if not are_spins_named():
             error_message("No spins have been named.  Please use the 
spin.name user function first, otherwise it is unlikely that any data will be 
loaded from the peak intensity file.\n\nThis message can be ignored if the 
generic file format is used and spin names have not been specified.", 
caption='Incomplete setup')
@@ -363,6 +366,9 @@
         # The noe.spectrum_type page.
         page = Spectrum_type_page(self.wizard, self.gui)
         self.page_indices['spectrum_type'] = self.wizard.add_page(page)
+
+        # Reset the cursor.
+        wx.EndBusyCursor()
 
         # Run the wizard.
         self.wizard.run()




Related Messages


Powered by MHonArc, Updated Fri Jul 15 16:20:02 2011