mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-22 19:28:09 -06:00
Avoid converting items to string before passing to SetItem
This commit is contained in:
parent
010c0011aa
commit
6f838d12e9
@ -37,9 +37,9 @@ class list(object):
|
||||
if self.system == "Windows":
|
||||
if reversed == False: items = self.list.GetItemCount()
|
||||
else: items = 0
|
||||
self.list.InsertItem(items, str(item[0]))
|
||||
self.list.InsertItem(items, item[0])
|
||||
for i in range(1, len(self.columns)):
|
||||
self.list.SetItem(items, i, str(item[i]))
|
||||
self.list.SetItem(items, i, item[i])
|
||||
else:
|
||||
self.list.Append(" ".join(item))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user