[GRASS-SVN] r41087 - grass/branches/releasebranch_6_4/gui/wxpython
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Feb 18 07:54:09 EST 2010
Author: martinl
Date: 2010-02-18 07:54:09 -0500 (Thu, 18 Feb 2010)
New Revision: 41087
Modified:
grass/branches/releasebranch_6_4/gui/wxpython/wxgui.py
Log:
wxGUI: don't show map layers after load
(merge r41085 from devbr6)
Modified: grass/branches/releasebranch_6_4/gui/wxpython/wxgui.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/wxgui.py 2010-02-18 12:51:48 UTC (rev 41086)
+++ grass/branches/releasebranch_6_4/gui/wxpython/wxgui.py 2010-02-18 12:54:09 UTC (rev 41087)
@@ -784,7 +784,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]
@@ -792,7 +792,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