[GRASS-SVN] r47285 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jul 27 14:01:41 EDT 2011


Author: mmetz
Date: 2011-07-27 11:01:41 -0700 (Wed, 27 Jul 2011)
New Revision: 47285

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

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