Author: bugman Date: Tue Jul 3 14:20:16 2012 New Revision: 17156 URL: http://svn.gna.org/viewcvs/relax?rev=17156&view=rev Log: Bug fix for the Value GUI input element for integer values. This is only uncovered when remotely running the GUI - e.g. through the test suite - and an integer value is set. Modified: trunk/gui/input_elements/value.py Modified: trunk/gui/input_elements/value.py URL: http://svn.gna.org/viewcvs/relax/trunk/gui/input_elements/value.py?rev=17156&r1=17155&r2=17156&view=diff ============================================================================== --- trunk/gui/input_elements/value.py (original) +++ trunk/gui/input_elements/value.py Tue Jul 3 14:20:16 2012 @@ -368,10 +368,10 @@ if sel == None and combo_default != None: # Translate if needed. if combo_default in combo_choices: - string = combo_default + string = str_to_gui(str(combo_default)) set_sel = True elif combo_default not in combo_data: - string = combo_default + string = str_to_gui(str(combo_default)) set_sel = False else: string = combo_choices[combo_data.index(combo_default)]