Author: bugman Date: Fri May 4 19:18:02 2012 New Revision: 15986 URL: http://svn.gna.org/viewcvs/relax?rev=15986&view=rev Log: The wizard page GetValue() method now returns None if the corresponding key is missing. This is needed for the directory arguments as these are not shown in the GUI. Modified: branches/uf_redesign/gui/wizard.py Modified: branches/uf_redesign/gui/wizard.py URL: http://svn.gna.org/viewcvs/relax/branches/uf_redesign/gui/wizard.py?rev=15986&r1=15985&r2=15986&view=diff ============================================================================== --- branches/uf_redesign/gui/wizard.py (original) +++ branches/uf_redesign/gui/wizard.py Fri May 4 19:18:02 2012 @@ -280,6 +280,10 @@ @return: The value that the specific GUI element's GetValue() method returns. @rtype: unknown """ + + # The key is not set, so assume this is a hidden argument. + if key not in self._elements.keys(): + return None # Call the element's method. return self._elements[key].GetValue()