mailr28285 - /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 - 16:27:
Author: bugman
Date: Tue Nov 15 16:27:52 2016
New Revision: 28285

URL: http://svn.gna.org/viewcvs/relax?rev=28285&view=rev
Log:
Reverted r28283 as this change broke the spectrum list GUI element.

The command used was:
svn merge -r28283:r28282 .

.....
  r28283 | bugman | 2016-11-15 15:44:48 +0100 (Tue, 15 Nov 2016) | 4 lines
  Changed paths:
     M /trunk/gui/components/spectrum.py
  
  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=28285&r1=28284&r2=28285&view=diff
==============================================================================
--- trunk/gui/components/spectrum.py    (original)
+++ trunk/gui/components/spectrum.py    Tue Nov 15 16:27:52 2016
@@ -1,7 +1,7 @@
 
###############################################################################
 #                                                                            
 #
 # Copyright (C) 2009-2011 Michael Bieri                                      
 #
-# Copyright (C) 2010-2016 Edward d'Auvergne                                  
 #
+# Copyright (C) 2010-2014 Edward d'Auvergne                                  
 #
 #                                                                            
 #
 # This file is part of the program relax (http://www.nmr-relax.com).         
 #
 #                                                                            
 #
@@ -784,6 +784,7 @@
 
         # 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:40:03 2016