[GRASS-SVN] r47286 - grass/branches/releasebranch_6_4/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jul 27 14:02:34 EDT 2011


Author: mmetz
Date: 2011-07-27 11:02:34 -0700 (Wed, 27 Jul 2011)
New Revision: 47286

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/dbm.py
Log:
fix row highlighting

Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/dbm.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/dbm.py	2011-07-27 18:01:41 UTC (rev 47285)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/dbm.py	2011-07-27 18:02:34 UTC (rev 47286)
@@ -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