Browse Source

wxGUI: do not some commands in choice widget (search module)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@48164 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 13 years ago
parent
commit
26d771828f
1 changed files with 2 additions and 1 deletions
  1. 2 1
      gui/wxpython/gui_modules/prompt.py

+ 2 - 1
gui/wxpython/gui_modules/prompt.py

@@ -547,7 +547,8 @@ class GPrompt(object):
         for prefix in prefixes:
         for prefix in prefixes:
             for command in mList[prefix]:
             for command in mList[prefix]:
                 name = prefix + '.' + command
                 name = prefix + '.' + command
-                items.append(name)
+                if name not in items:
+                    items.append(name)
                 
                 
         items.sort()
         items.sort()