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

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Sep 6 06:06:16 EDT 2011


Author: martinl
Date: 2011-09-06 03:06:16 -0700 (Tue, 06 Sep 2011)
New Revision: 48164

Modified:
   grass/trunk/gui/wxpython/gui_modules/prompt.py
Log:
wxGUI: do not some commands in choice widget (search module)


Modified: grass/trunk/gui/wxpython/gui_modules/prompt.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/prompt.py	2011-09-06 09:36:03 UTC (rev 48163)
+++ grass/trunk/gui/wxpython/gui_modules/prompt.py	2011-09-06 10:06:16 UTC (rev 48164)
@@ -547,7 +547,8 @@
         for prefix in prefixes:
             for command in mList[prefix]:
                 name = prefix + '.' + command
-                items.append(name)
+                if name not in items:
+                    items.append(name)
                 
         items.sort()
         



More information about the grass-commit mailing list