Author: bugman Date: Tue Nov 15 15:44:48 2016 New Revision: 28283 URL: http://svn.gna.org/viewcvs/relax?rev=28283&view=rev Log: Removal of a wx.ListCtrl.DeleteAllColumns() function call from the spectrum GUI element.
This function does not exist in wxPython-Phoenix and is redundant anyway due to the DeleteAllItems() function call on the line before. Modified: trunk/gui/components/spectrum.py Modified: trunk/gui/components/spectrum.py URL: http://svn.gna.org/viewcvs/relax/trunk/gui/components/spectrum.py?rev=28283&r1=28282&r2=28283&view=diff ============================================================================== --- trunk/gui/components/spectrum.py (original) +++ trunk/gui/components/spectrum.py Tue Nov 15 15:44:48 2016 @@ -1,7 +1,7 @@ ############################################################################### # # # Copyright (C) 2009-2011 Michael Bieri # -# Copyright (C) 2010-2014 Edward d'Auvergne # +# Copyright (C) 2010-2016 Edward d'Auvergne # # # # This file is part of the program relax (http://www.nmr-relax.com). # # # @@ -784,7 +784,6 @@ # Delete the rows and columns. self.element.DeleteAllItems() - self.element.DeleteAllColumns() # Initialise to a single column. self.element.InsertColumn(0, str_to_gui("Spectrum ID")) _______________________________________________ relax (http://www.nmr-relax.com) This is the relax-commits mailing list relax-commits@gna.org To unsubscribe from this list, get a password reminder, or change your subscription options, visit the list information page at https://mail.gna.org/listinfo/relax-commits