[GRASS-SVN] r50044 - grass/branches/develbranch_6/gui/wxpython/mapdisp

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jan 3 06:17:52 EST 2012


Author: martinl
Date: 2012-01-03 03:17:51 -0800 (Tue, 03 Jan 2012)
New Revision: 50044

Modified:
   grass/branches/develbranch_6/gui/wxpython/mapdisp/mapwindow.py
Log:
wxGUI: fix typo
       (merge r50041 & r50043 from trunk)


Modified: grass/branches/develbranch_6/gui/wxpython/mapdisp/mapwindow.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/mapdisp/mapwindow.py	2012-01-03 11:15:38 UTC (rev 50043)
+++ grass/branches/develbranch_6/gui/wxpython/mapdisp/mapwindow.py	2012-01-03 11:17:51 UTC (rev 50044)
@@ -1408,7 +1408,7 @@
         # disable tool if stack is empty
         if len(self.zoomhistory) < 2: # disable tool
             toolbar = self.parent.GetMapToolbar()
-            toolbar.Enable('zoomback', enable = False)
+            toolbar.Enable('zoomBack', enable = False)
         
         # zoom to selected region
         self.Map.GetRegion(n = zoom[0], s = zoom[1],
@@ -1448,7 +1448,7 @@
         
         toolbar = self.parent.GetMapToolbar()
         
-        toolbar.Enable('zoomback', enable)
+        toolbar.Enable('zoomBack', enable)
         
         return removed
 



More information about the grass-commit mailing list