浏览代码

wxGUI: fix OnSearchModule()

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@48145 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 13 年之前
父节点
当前提交
e23bd152c2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      gui/wxpython/gui_modules/ghelp.py

+ 1 - 1
gui/wxpython/gui_modules/ghelp.py

@@ -162,7 +162,7 @@ class SearchModuleWindow(wx.Panel):
                 if text in data['desc']:
                     found = True
             elif sel == 1: # keywords
-                if self.cmdPrompt.CheckKey(text, data['keywords']):
+                if text in ','.join(data['keywords']):
                     found = True
             else: # command
                 if module[:len(text)] == text: