[GRASS-SVN] r53447 - grass/trunk/gui/wxpython/lmgr

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Oct 17 12:06:42 PDT 2012


Author: martinl
Date: 2012-10-17 12:06:42 -0700 (Wed, 17 Oct 2012)
New Revision: 53447

Modified:
   grass/trunk/gui/wxpython/lmgr/frame.py
Log:
wxGUI: GetMenuCmd - initialize cmd variable


Modified: grass/trunk/gui/wxpython/lmgr/frame.py
===================================================================
--- grass/trunk/gui/wxpython/lmgr/frame.py	2012-10-17 19:02:08 UTC (rev 53446)
+++ grass/trunk/gui/wxpython/lmgr/frame.py	2012-10-17 19:06:42 UTC (rev 53447)
@@ -574,6 +574,8 @@
         
         if event:
             cmd = self.menucmd[event.GetId()]
+        else:
+            cmd = ''
         
         try:
             cmdlist = cmd.split(' ')



More information about the grass-commit mailing list