Browse Source

wxGUI: fix key_desc

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@35773 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 16 năm trước cách đây
mục cha
commit
8ba28adedf
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      gui/wxpython/gui_modules/menuform.py

+ 2 - 2
gui/wxpython/gui_modules/menuform.py

@@ -470,12 +470,12 @@ class processTask(HandlerBase):
             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):