ソースを参照

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