mailr28283 - /trunk/gui/components/spectrum.py


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

Header


Content

Posted by edward on November 15, 2016 - 15:44:
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"))




Related Messages


Powered by MHonArc, Updated Tue Nov 15 16:20:09 2016