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