Sanity check added in display.py -> refresh

This commit is contained in:
HomeWorld
2010-09-16 15:22:18 +03:00
parent 150e363ddc
commit 0257545017

View File

@@ -104,6 +104,9 @@ class Display(wx.ListCtrl):
self.Thaw()
def refresh(self, stuff):
if stuff == None:
return
self.Freeze()
item = -1
for id, st in enumerate(stuff):