Browse Source

wxGUI/modeler: fix LoadMapLayers()
(merge https://trac.osgeo.org/grass/changeset/48776 from devbr6)


git-svn-id: https://svn.osgeo.org/grass/grass/trunk@48777 15284696-431f-4ddb-bdfa-cd5b030d7da7

Martin Landa 13 years ago
parent
commit
823da52210
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gui/wxpython/gui_modules/gdialogs.py

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

@@ -916,7 +916,7 @@ class MapLayersDialog(wx.Dialog):
         self.bodySizer = self._createDialogBody()
         # update list of layer to be loaded
         self.map_layers = [] # list of map layers (full list type/mapset)
-        self.LoadMapLayers(self.layerType.GetStringSelection()[:4],
+        self.LoadMapLayers(self.GetLayerType(cmd = True),
                            self.mapset.GetStringSelection())
         
         self.fullyQualified = wx.CheckBox(parent = self, id = wx.ID_ANY,