git-svn-id: https://svn.osgeo.org/grass/grass/trunk@47284 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -358,8 +358,7 @@ class VirtualAttributeList(wx.ListCtrl,
def OnGetItemAttr(self, item):
"""!Get item attributes"""
- index = self.itemIndexMap[item]
- if ( index % 2) == 0:
+ if ( item % 2) == 0:
return self.attr2
else:
return self.attr1