[GRASS-SVN] r41085 - grass/branches/develbranch_6/gui/wxpython
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Feb 18 07:48:46 EST 2010
Author: martinl
Date: 2010-02-18 07:48:46 -0500 (Thu, 18 Feb 2010)
New Revision: 41085
Modified:
grass/branches/develbranch_6/gui/wxpython/wxgui.py
Log:
wxGUI: don't show map layers after load
Modified: grass/branches/develbranch_6/gui/wxpython/wxgui.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/wxgui.py 2010-02-18 12:48:35 UTC (rev 41084)
+++ grass/branches/develbranch_6/gui/wxpython/wxgui.py 2010-02-18 12:48:46 UTC (rev 41085)
@@ -751,7 +751,7 @@
busy = wx.BusyInfo(message=_("Please wait, loading workspace..."),
parent=self)
wx.Yield()
-
+
for layerName in dialog.GetMapLayers():
if dialog.GetLayerType() == 'raster':
cmd = ['d.rast', 'map=%s' % layerName]
@@ -759,7 +759,7 @@
cmd = ['d.vect', 'map=%s' % layerName]
newItem = maptree.AddLayer(ltype=dialog.GetLayerType(),
lname=layerName,
- lchecked=True,
+ lchecked=False,
lopacity=1.0,
lcmd=cmd,
lgroup=None)
More information about the grass-commit
mailing list