[GRASS-SVN] r48165 - grass/branches/develbranch_6/gui/wxpython/gui_modules

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


Author: martinl
Date: 2011-09-06 03:07:57 -0700 (Tue, 06 Sep 2011)
New Revision: 48165

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


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/prompt.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/prompt.py	2011-09-06 10:06:16 UTC (rev 48164)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/prompt.py	2011-09-06 10:07:57 UTC (rev 48165)
@@ -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