mailr16007 - /branches/uf_redesign/gui/wizard_elements.py


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

Header


Content

Posted by edward on May 05, 2012 - 22:03:
Author: bugman
Date: Sat May  5 22:03:52 2012
New Revision: 16007

URL: http://svn.gna.org/viewcvs/relax?rev=16007&view=rev
Log:
Fix for the Selector_bool GUI element - the GetValue() method was faulty and 
always returning None.


Modified:
    branches/uf_redesign/gui/wizard_elements.py

Modified: branches/uf_redesign/gui/wizard_elements.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/uf_redesign/gui/wizard_elements.py?rev=16007&r1=16006&r2=16007&view=diff
==============================================================================
--- branches/uf_redesign/gui/wizard_elements.py (original)
+++ branches/uf_redesign/gui/wizard_elements.py Sat May  5 22:03:52 2012
@@ -555,7 +555,7 @@
         """
 
         # Convert and return the value from a ComboBox.
-        return 
gui_to_bool(self.combo.GetClientData(self.combo.GetSelection()))
+        return gui_to_bool(self.combo.GetValue())
 
 
     def SetValue(self, value):




Related Messages


Powered by MHonArc, Updated Sat May 05 22:20:02 2012