Author: bugman Date: Wed May 23 19:27:04 2012 New Revision: 16418 URL: http://svn.gna.org/viewcvs/relax?rev=16418&view=rev Log: Bug fix for the calling of the GUI user function objects. The user function page update_args() method is now being called to update all the ComboBoxes with the current relax data store data. Without this, the lists would be empty or out of date. A call requiring a user function arg to be set on a read only ComboBox would then fail. 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=16418&r1=16417&r2=16418&view=diff ============================================================================== --- branches/uf_redesign/gui/uf_objects.py (original) +++ branches/uf_redesign/gui/uf_objects.py Wed May 23 19:27:04 2012 @@ -168,6 +168,9 @@ if self.wizard == None or (wx_parent != None and wx_parent != self.wizard.GetParent()): self.create_wizard(wx_parent) + # Update all of the user function argument choices (ComboBoxes) to be current. + self.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: self.page.SetValue(key, kwds[key])