浏览代码

wxGUI: replace mlist() by mlist_grouped()

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@47428 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 13 年之前
父节点
当前提交
7e066e3460
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      gui/wxpython/gui_modules/gdialogs.py

+ 1 - 1
gui/wxpython/gui_modules/gdialogs.py

@@ -935,7 +935,7 @@ class AddMapLayersDialog(wx.Dialog):
         @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