[GRASS-SVN] r53448 - grass/branches/develbranch_6/gui/wxpython/lmgr

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Oct 17 12:08:59 PDT 2012


Author: martinl
Date: 2012-10-17 12:08:58 -0700 (Wed, 17 Oct 2012)
New Revision: 53448

Modified:
   grass/branches/develbranch_6/gui/wxpython/lmgr/frame.py
Log:
wxGUI: fix search module (OnRun)
       (merge r53446 & r53447 from trunk)


Modified: grass/branches/develbranch_6/gui/wxpython/lmgr/frame.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/lmgr/frame.py	2012-10-17 19:06:42 UTC (rev 53447)
+++ grass/branches/develbranch_6/gui/wxpython/lmgr/frame.py	2012-10-17 19:08:58 UTC (rev 53448)
@@ -547,6 +547,8 @@
         
         if event:
             cmd = self.menucmd[event.GetId()]
+        else:
+            cmd = ''
         
         try:
             cmdlist = cmd.split(' ')
@@ -1178,7 +1180,7 @@
                                        'loc' : grass.gisenv()["LOCATION_NAME"] })
         dlg.Destroy()
         
-    def RulesCmd(self, event):
+    def RulesCmd(self, event, cmd = None):
         """!Launches dialog for commands that need rules input and
         processes rules
         """



More information about the grass-commit mailing list