Author: bugman Date: Mon Sep 19 18:25:12 2011 New Revision: 14697 URL: http://svn.gna.org/viewcvs/relax?rev=14697&view=rev Log: Created a data structure for the user function GUI pages for holding the default values. This will be used to remove an MS Windows bug where combo boxes are reset to nothing. Modified: 1.3/gui/user_functions/base.py Modified: 1.3/gui/user_functions/base.py URL: http://svn.gna.org/viewcvs/relax/1.3/gui/user_functions/base.py?rev=14697&r1=14696&r2=14697&view=diff ============================================================================== --- 1.3/gui/user_functions/base.py (original) +++ 1.3/gui/user_functions/base.py Mon Sep 19 18:25:12 2011 @@ -139,6 +139,9 @@ # Store the args. self.sync = sync + # Default value data structure. + self.defaults = {} + # Yield to allow the cursor to be changed. wx.Yield()