From 9ba3d2c5c6c49439c8b2ff4ae6bd7a632146850a Mon Sep 17 00:00:00 2001 From: pierre Date: Mon, 3 Nov 2014 23:48:35 +0100 Subject: [PATCH] ... --- listlex.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/listlex.py b/listlex.py index 9244869..9ddd16b 100644 --- a/listlex.py +++ b/listlex.py @@ -16,7 +16,6 @@ import os import sys import wx import wx.lib.mixins.listctrl as listmix -import cStringIO import tempfile from functions import exec_rcode, doconcorde from chemins import ffr @@ -74,8 +73,8 @@ class ListForSpec(wx.ListCtrl, listmix.ListCtrlAutoWidthMixin, listmix.ColumnSor self.SetColumnWidth(0, 180) - for i in range(0,len(self.first)): - self.SetColumnWidth(i + 1, self.checkcolumnwidth(len(self.first[i]) * 10)) + for i in range(0,len(self.etoiles)): + self.SetColumnWidth(i + 1, self.checkcolumnwidth(len(self.etoiles[i]) * 10)) self.itemDataMap = self.dlist self.itemIndexMap = self.dlist.keys() -- 2.7.4