mailr15874 - /1.3/gui/wizard.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on May 02, 2012 - 16:55:
Author: bugman
Date: Wed May  2 16:55:36 2012
New Revision: 15874

URL: http://svn.gna.org/viewcvs/relax?rev=15874&view=rev
Log:
Fix for the wizard GetValue() and SetValue() methods.

The GUI elements are in the self._elements dictionary!


Modified:
    1.3/gui/wizard.py

Modified: 1.3/gui/wizard.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/gui/wizard.py?rev=15874&r1=15873&r2=15874&view=diff
==============================================================================
--- 1.3/gui/wizard.py (original)
+++ 1.3/gui/wizard.py Wed May  2 16:55:36 2012
@@ -271,7 +271,7 @@
         """
 
         # Call the element's method.
-        return self._element[key].GetValue()
+        return self._elements[key].GetValue()
 
 
     def SetValue(self, key, value):
@@ -284,7 +284,7 @@
         """
 
         # Call the element's method.
-        self._element[key].SetValue(value)
+        self._elements[key].SetValue(value)
 
 
     def add_artwork(self, sizer):




Related Messages


Powered by MHonArc, Updated Wed May 02 17:20:01 2012