[GRASS-SVN] r31366 - grass/branches/develbranch_6/gui/wxpython
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu May 15 17:54:25 EDT 2008
Author: martinl
Date: 2008-05-15 17:54:25 -0400 (Thu, 15 May 2008)
New Revision: 31366
Modified:
grass/branches/develbranch_6/gui/wxpython/wxgui.py
Log:
wxGUI: fix disabling menu items, related to r31362
Modified: grass/branches/develbranch_6/gui/wxpython/wxgui.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/wxgui.py 2008-05-15 21:46:34 UTC (rev 31365)
+++ grass/branches/develbranch_6/gui/wxpython/wxgui.py 2008-05-15 21:54:25 UTC (rev 31366)
@@ -271,7 +271,7 @@
self.menucmd[menuItem.GetId()] = gcmd
if len(gcmd) > 0 and \
- gcmd not in globalvar.grassCmd['all']:
+ gcmd.split()[0] not in globalvar.grassCmd['all']:
menuItem.Enable (False)
rhandler = eval(handler)
More information about the grass-commit
mailing list