소스 검색

fix row highlighting

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@47284 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 14 년 전
부모
커밋
6075c6cb76
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      gui/wxpython/gui_modules/dbm.py

+ 1 - 2
gui/wxpython/gui_modules/dbm.py

@@ -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