[GRASS-SVN] r30921 - grass/trunk/gui/wxpython
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Apr 10 04:19:12 EDT 2008
Author: martinl
Date: 2008-04-10 04:19:12 -0400 (Thu, 10 Apr 2008)
New Revision: 30921
Modified:
grass/trunk/gui/wxpython/wxgui.py
Log:
wxGUI (wxgui): OnWorkspaceLoadGrcFile() define 'maptree' variable
Modified: grass/trunk/gui/wxpython/wxgui.py
===================================================================
--- grass/trunk/gui/wxpython/wxgui.py 2008-04-10 06:54:19 UTC (rev 30920)
+++ grass/trunk/gui/wxpython/wxgui.py 2008-04-10 08:19:12 UTC (rev 30921)
@@ -682,6 +682,7 @@
parent=self)
wx.Yield()
+ maptree = None
for layer in workspace.ProcessGrcFile(filename).read(self):
maptree = self.gm_cb.GetPage(layer['display']).maptree
newItem = maptree.AddLayer(ltype=layer['type'],
More information about the grass-commit
mailing list