mailr20176 - /trunk/gui/uf_objects.py


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

Header


Content

Posted by edward on June 17, 2013 - 15:15:
Author: bugman
Date: Mon Jun 17 15:15:15 2013
New Revision: 20176

URL: http://svn.gna.org/viewcvs/relax?rev=20176&view=rev
Log:
Fix for bug #20910 (https://gna.org/bugs/?20910) - the broken grace.write GUI 
interface.

The problem was that the Value GUI input element was not detecting list-type 
data returned by the
wiz_combo_iter method.


Modified:
    trunk/gui/uf_objects.py

Modified: trunk/gui/uf_objects.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/gui/uf_objects.py?rev=20176&r1=20175&r2=20176&view=diff
==============================================================================
--- trunk/gui/uf_objects.py (original)
+++ trunk/gui/uf_objects.py Mon Jun 17 15:15:15 2013
@@ -919,7 +919,7 @@
                 choices = []
                 data = []
                 for vals in iterator():
-                    if lib.arg_check.is_tuple(vals, size=2, 
raise_error=False):
+                    if lib.arg_check.is_tuple(vals, size=2, 
raise_error=False) or lib.arg_check.is_list(vals, size=2, raise_error=False):
                         choices.append(vals[0])
                         data.append(vals[1])
                     else:




Related Messages


Powered by MHonArc, Updated Mon Jun 17 15:20:02 2013