[GRASS-SVN] r48776 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Oct 13 08:20:56 EDT 2011


Author: martinl
Date: 2011-10-13 05:20:56 -0700 (Thu, 13 Oct 2011)
New Revision: 48776

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/gdialogs.py
Log:
wxGUI/modeler: fix LoadMapLayers()


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/gdialogs.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/gdialogs.py	2011-10-13 12:09:59 UTC (rev 48775)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/gdialogs.py	2011-10-13 12:20:56 UTC (rev 48776)
@@ -861,7 +861,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