[GRASS-SVN] r47430 -
grass/branches/develbranch_6/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Aug 4 08:54:03 EDT 2011
Author: martinl
Date: 2011-08-04 05:54:03 -0700 (Thu, 04 Aug 2011)
New Revision: 47430
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_modules/gdialogs.py
Log:
wxGUI: replace mlist() by mlist_grouped()
(merge r47428 from trunk)
Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/gdialogs.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/gdialogs.py 2011-08-04 12:52:31 UTC (rev 47429)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/gdialogs.py 2011-08-04 12:54:03 UTC (rev 47430)
@@ -930,7 +930,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