Fixed a little oopsie

This commit is contained in:
HomeWorld
2010-11-02 15:13:14 +02:00
parent 85d06c11cf
commit 1d082475f5

View File

@@ -51,7 +51,7 @@ class MaxRange(ViewColumn):
if params["displayName"] or self.imageId == -1:
self.columnText = info.displayName if info.displayName != "" else info.name
self.mask |= wx.LIST_MASK_IMAGE
self.mask |= wx.LIST_MASK_TEXT
def getText(self, stuff):
maxRange = stuff.maxRange if hasattr(stuff, "maxRange") else stuff.getModifiedItemAttr("maxRange")