[GRASS-SVN] r67838 - grass/trunk/gui/wxpython/mapdisp
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Feb 15 17:29:21 PST 2016
Author: annakrat
Date: 2016-02-15 17:29:20 -0800 (Mon, 15 Feb 2016)
New Revision: 67838
Modified:
grass/trunk/gui/wxpython/mapdisp/frame.py
Log:
wxGUI: fix raster querying broken r67751 (#2920)
Modified: grass/trunk/gui/wxpython/mapdisp/frame.py
===================================================================
--- grass/trunk/gui/wxpython/mapdisp/frame.py 2016-02-15 22:29:26 UTC (rev 67837)
+++ grass/trunk/gui/wxpython/mapdisp/frame.py 2016-02-16 01:29:20 UTC (rev 67838)
@@ -916,7 +916,7 @@
self._QueryMapDone()
self._highlighter_layer.Clear()
- if 'Category' in vectQuery[0]:
+ if vectQuery and 'Category' in vectQuery[0]:
self._queryHighlight(vectQuery)
result = rastQuery + vectQuery
More information about the grass-commit
mailing list