[GRASS-SVN] r33049 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Aug 24 12:54:31 EDT 2008


Author: martinl
Date: 2008-08-24 12:54:31 -0400 (Sun, 24 Aug 2008)
New Revision: 33049

Modified:
   grass/trunk/gui/wxpython/gui_modules/toolbars.py
Log:
wxGUI: fix vdigit toolbar (merge from devbr6, r33048)


Modified: grass/trunk/gui/wxpython/gui_modules/toolbars.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/toolbars.py	2008-08-24 16:49:13 UTC (rev 33048)
+++ grass/trunk/gui/wxpython/gui_modules/toolbars.py	2008-08-24 16:54:31 UTC (rev 33049)
@@ -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