[GRASS-SVN] r39448 -
grass/branches/develbranch_6/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Oct 8 08:59:56 EDT 2009
Author: martinl
Date: 2009-10-08 08:59:55 -0400 (Thu, 08 Oct 2009)
New Revision: 39448
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp_window.py
Log:
wxGUI: fix zoomtomap/vdigit
(merge r39447 from trunk)
Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp_window.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp_window.py 2009-10-08 12:41:10 UTC (rev 39447)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp_window.py 2009-10-08 12:59:55 UTC (rev 39448)
@@ -2579,7 +2579,7 @@
rast.append(l.name)
elif l.type == 'vector':
digitToolbar = self.parent.toolbars['vdigit']
- if digitToolbar and digitToolbar.GetLayer() == l.name:
+ if digitToolbar and digitToolbar.GetLayer() == l:
w, s, b, e, n, t = self.parent.digit.driver.GetMapBoundingBox()
self.Map.GetRegion(n=n, s=s, w=w, e=e,
update=True)
More information about the grass-commit
mailing list