Author: bugman Date: Mon Sep 19 19:39:05 2011 New Revision: 14702 URL: http://svn.gna.org/viewcvs/relax?rev=14702&view=rev Log: The peak list and relaxation data GUI element pop up menus are now disabled with the execution lock. This will prevent weird bugs. Modified: 1.3/gui/components/relax_data.py 1.3/gui/components/spectrum.py Modified: 1.3/gui/components/relax_data.py URL: http://svn.gna.org/viewcvs/relax/1.3/gui/components/relax_data.py?rev=14702&r1=14701&r2=14702&view=diff ============================================================================== --- 1.3/gui/components/relax_data.py (original) +++ 1.3/gui/components/relax_data.py Mon Sep 19 19:39:05 2011 @@ -248,6 +248,10 @@ @type event: wx event """ + # Execution lock, so do nothing. + if status.exec_lock.locked(): + return + # New menu entry. if not hasattr(self, 'popup_id_del'): # ID number. Modified: 1.3/gui/components/spectrum.py URL: http://svn.gna.org/viewcvs/relax/1.3/gui/components/spectrum.py?rev=14702&r1=14701&r2=14702&view=diff ============================================================================== --- 1.3/gui/components/spectrum.py (original) +++ 1.3/gui/components/spectrum.py Mon Sep 19 19:39:05 2011 @@ -278,6 +278,10 @@ @type event: wx event """ + # Execution lock, so do nothing. + if status.exec_lock.locked(): + return + # New menu entry. if not hasattr(self, 'popup_id_del'): # ID number.