[GRASS-SVN] r48777 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Oct 13 08:23:08 EDT 2011
Author: martinl
Date: 2011-10-13 05:23:08 -0700 (Thu, 13 Oct 2011)
New Revision: 48777
Modified:
grass/trunk/gui/wxpython/gui_modules/gdialogs.py
Log:
wxGUI/modeler: fix LoadMapLayers()
(merge r48776 from devbr6)
Modified: grass/trunk/gui/wxpython/gui_modules/gdialogs.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/gdialogs.py 2011-10-13 12:20:56 UTC (rev 48776)
+++ grass/trunk/gui/wxpython/gui_modules/gdialogs.py 2011-10-13 12:23:08 UTC (rev 48777)
@@ -916,7 +916,7 @@
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,
More information about the grass-commit
mailing list