Author: bugman Date: Tue Jul 26 13:54:23 2011 New Revision: 13883 URL: http://svn.gna.org/viewcvs/relax?rev=13883&view=rev Log: Fix for the relaxation data list GUI element - the columns are no longer deleted. Modified: branches/gui_testing/gui/components/relax_data.py Modified: branches/gui_testing/gui/components/relax_data.py URL: http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/components/relax_data.py?rev=13883&r1=13882&r2=13883&view=diff ============================================================================== --- branches/gui_testing/gui/components/relax_data.py (original) +++ branches/gui_testing/gui/components/relax_data.py Tue Jul 26 13:54:23 2011 @@ -137,10 +137,8 @@ # First freeze the element, so that the GUI element doesn't update until the end. self.element.Freeze() - # Delete the rows and columns. + # Delete the previous data. self.element.DeleteAllItems() - for i in range(1, self.element.GetColumnCount()): - self.element.DeleteColumn(i) # Expand the number of rows to match the number of relaxation IDs, and add the IDs. n = 0