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

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Aug 4 08:51:08 EDT 2011


Author: martinl
Date: 2011-08-04 05:51:08 -0700 (Thu, 04 Aug 2011)
New Revision: 47428

Modified:
   grass/trunk/gui/wxpython/gui_modules/gdialogs.py
Log:
wxGUI: replace mlist() by mlist_grouped()


Modified: grass/trunk/gui/wxpython/gui_modules/gdialogs.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/gdialogs.py	2011-08-04 12:50:33 UTC (rev 47427)
+++ grass/trunk/gui/wxpython/gui_modules/gdialogs.py	2011-08-04 12:51:08 UTC (rev 47428)
@@ -935,7 +935,7 @@
         @param type layer type ('raster' or 'vector')
         @param mapset mapset name
         """
-        self.map_layers = grass.mlist(type = type, mapset = mapset)
+        self.map_layers = grass.mlist_grouped(type = type)[mapset]
         self.layers.Set(self.map_layers)
         
         # check all items by default



More information about the grass-commit mailing list