Author: bugman Date: Mon Jun 27 14:41:20 2011 New Revision: 13233 URL: http://svn.gna.org/viewcvs/relax?rev=13233&view=rev Log: Fix for the resetting of the changed fields when loading the sequence file. The loading method was calling sync_ds() which was resetting all values!!! Modified: branches/gui_testing/gui/analyses/auto_noe.py Modified: branches/gui_testing/gui/analyses/auto_noe.py URL: http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/analyses/auto_noe.py?rev=13233&r1=13232&r2=13233&view=diff ============================================================================== --- branches/gui_testing/gui/analyses/auto_noe.py (original) +++ branches/gui_testing/gui/analyses/auto_noe.py Mon Jun 27 14:41:20 2011 @@ -46,7 +46,7 @@ from gui.derived_wx_classes import StructureTextCtrl from gui.filedialog import opendir, openfile from gui.message import error_message, missing_data -from gui.misc import add_border +from gui.misc import add_border, str_to_gui from gui import paths from gui.settings import load_sequence @@ -364,10 +364,7 @@ return # Store the file. - self.data.sequence_file = file - - # Sync. - self.sync_ds(upload=False) + self.field_sequence.SetValue(str_to_gui(file)) # Terminate the event. event.Skip()