Author: bugman Date: Mon May 21 22:36:22 2012 New Revision: 16359 URL: http://svn.gna.org/viewcvs/relax?rev=16359&view=rev Log: The user function page is now updated prior to setting any argument values. This is necessary for when a value from a pre-defined list is to be selected. Without the update, the list will be blank and the selection will not work. Modified: branches/uf_redesign/gui/uf_objects.py Modified: branches/uf_redesign/gui/uf_objects.py URL: http://svn.gna.org/viewcvs/relax/branches/uf_redesign/gui/uf_objects.py?rev=16359&r1=16358&r2=16359&view=diff ============================================================================== --- branches/uf_redesign/gui/uf_objects.py (original) +++ branches/uf_redesign/gui/uf_objects.py Mon May 21 22:36:22 2012 @@ -173,6 +173,9 @@ # Create the page. page = self.create_page(wizard, sync=self._sync) + # For an update of the argument data. + page.update_args() + # Loop over the keyword args, using the Uf_page.SetValue() method to set the user function argument GUI element values. for key in kwds: page.SetValue(key, kwds[key])