2
eos
2
eos
Submodule eos updated: fc317f1ba6...d22af0654d
@@ -118,7 +118,7 @@ class Display(wx.ListCtrl):
|
||||
selection.append(sel)
|
||||
sel = self.GetNextSelected(sel)
|
||||
|
||||
# self.Freeze()
|
||||
self.Freeze()
|
||||
item = -1
|
||||
for id, st in enumerate(stuff):
|
||||
item = self.GetNextItem(item)
|
||||
@@ -146,8 +146,9 @@ class Display(wx.ListCtrl):
|
||||
for i, col in enumerate(self.activeColumns):
|
||||
if not col.resized:
|
||||
if col.size == wx.LIST_AUTOSIZE:
|
||||
self.SetColumnWidth(i, wx.LIST_AUTOSIZE_USEHEADER)
|
||||
headerWidth = self.GetColumnWidth(i)
|
||||
self.SetColumnWidth(i, wx.LIST_AUTOSIZE)
|
||||
headerWidth = 24
|
||||
baseWidth = self.GetColumnWidth(i)
|
||||
if baseWidth < headerWidth:
|
||||
self.SetColumnWidth(i, headerWidth)
|
||||
@@ -156,7 +157,7 @@ class Display(wx.ListCtrl):
|
||||
|
||||
for sel in selection:
|
||||
self.Select(sel)
|
||||
# self.Thaw()
|
||||
self.Thaw()
|
||||
|
||||
def update(self, stuff):
|
||||
self.populate(stuff)
|
||||
|
||||
@@ -857,9 +857,8 @@ class ShipItem(wx.Window):
|
||||
self.tcFitName.Show(False)
|
||||
if self.highlighted == 1:
|
||||
self.editWasShown = 1
|
||||
|
||||
self.newToggleBmp = self.newBmp
|
||||
self.Refresh()
|
||||
self.newToggleBmp = self.newBmp
|
||||
self.Refresh()
|
||||
|
||||
def editCheckEsc(self, event):
|
||||
if event.GetKeyCode() == wx.WXK_ESCAPE:
|
||||
|
||||
Reference in New Issue
Block a user