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

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Feb 5 04:26:02 EST 2009


Author: martinl
Date: 2009-02-05 04:26:02 -0500 (Thu, 05 Feb 2009)
New Revision: 35773

Modified:
   grass/trunk/gui/wxpython/gui_modules/menuform.py
Log:
wxGUI: fix key_desc


Modified: grass/trunk/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/menuform.py	2009-02-05 08:59:36 UTC (rev 35772)
+++ grass/trunk/gui/wxpython/gui_modules/menuform.py	2009-02-05 09:26:02 UTC (rev 35773)
@@ -470,12 +470,12 @@
             self.inKeywordsContent = False
 
         if name == 'keydesc':
-            self.param_key_desc = self.param_key_desc.split()
             self.inKeyDesc = False
 
         if name == 'item':
             if self.inKeyDesc:
-                self.param_key_desc = normalize_whitespace(self.key_desc)
+                self.param_key_desc.append(normalize_whitespace(self.key_desc))
+                self.key_desc = ''
                 self.addKeyDesc = False
 
 class helpPanel(wx.html.HtmlWindow):



More information about the grass-commit mailing list