[GRASS-SVN] r48166 - grass/branches/releasebranch_6_4/gui/wxpython/gui_modules

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


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

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


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