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

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Aug 24 12:49:13 EDT 2008


Author: martinl
Date: 2008-08-24 12:49:13 -0400 (Sun, 24 Aug 2008)
New Revision: 33048

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/toolbars.py
Log:
wxGUI: fix vdigit toolbar


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/toolbars.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/toolbars.py	2008-08-24 11:39:59 UTC (rev 33047)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/toolbars.py	2008-08-24 16:49:13 UTC (rev 33048)
@@ -722,7 +722,7 @@
                            kind=wx.ITEM_CHECK)
         toolMenu.AppendItem(copy)
         self.parent.MapWindow.Bind(wx.EVT_MENU, self.OnCopy, copy)
-        if self.toolbars['map'].GetAction() == "copyLine":
+        if self.action['desc'] == "copyLine":
             copy.Check(True)
 
         flip = wx.MenuItem(parentMenu=toolMenu, id=wx.ID_ANY,
@@ -730,7 +730,7 @@
                            kind=wx.ITEM_CHECK)
         toolMenu.AppendItem(flip)
         self.parent.MapWindow.Bind(wx.EVT_MENU, self.OnFlip, flip)
-        if self.toolbars['map'].GetAction() == "flipLine":
+        if self.action['desc'] == "flipLine":
             flip.Check(True)
 
         merge = wx.MenuItem(parentMenu=toolMenu, id=wx.ID_ANY,



More information about the grass-commit mailing list