[GRASS-SVN] r47284 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jul 27 14:00:07 EDT 2011
Author: mmetz
Date: 2011-07-27 11:00:07 -0700 (Wed, 27 Jul 2011)
New Revision: 47284
Modified:
grass/trunk/gui/wxpython/gui_modules/dbm.py
Log:
fix row highlighting
Modified: grass/trunk/gui/wxpython/gui_modules/dbm.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/dbm.py 2011-07-27 17:58:17 UTC (rev 47283)
+++ grass/trunk/gui/wxpython/gui_modules/dbm.py 2011-07-27 18:00:07 UTC (rev 47284)
@@ -358,8 +358,7 @@
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
More information about the grass-commit
mailing list