[GRASS-SVN] r66936 - in grass/trunk/gui/wxpython: core lmgr

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Nov 26 13:59:43 PST 2015


Author: martinl
Date: 2015-11-26 13:59:43 -0800 (Thu, 26 Nov 2015)
New Revision: 66936

Modified:
   grass/trunk/gui/wxpython/core/gconsole.py
   grass/trunk/gui/wxpython/lmgr/frame.py
Log:
wxGUI: enable map layers add from wxGUI prompt

Modified: grass/trunk/gui/wxpython/core/gconsole.py
===================================================================
--- grass/trunk/gui/wxpython/core/gconsole.py	2015-11-26 19:57:04 UTC (rev 66935)
+++ grass/trunk/gui/wxpython/core/gconsole.py	2015-11-26 21:59:43 UTC (rev 66936)
@@ -9,7 +9,7 @@
  - goutput::GStderr
  - goutput::GConsole
 
-(C) 2007-2014 by the GRASS Development Team
+(C) 2007-2015 by the GRASS Development Team
 
 This program is free software under the GNU General Public License
 (>=v2). Read the file COPYING that comes with GRASS for details.

Modified: grass/trunk/gui/wxpython/lmgr/frame.py
===================================================================
--- grass/trunk/gui/wxpython/lmgr/frame.py	2015-11-26 19:57:04 UTC (rev 66935)
+++ grass/trunk/gui/wxpython/lmgr/frame.py	2015-11-26 21:59:43 UTC (rev 66936)
@@ -685,7 +685,7 @@
             # add layer into layer tree
             lname, found = GetLayerNameFromCmd(command, fullyQualified = True,
                                                layerType = layertype)
-            self.GetLayerTree().AddLayer(ltype = layertype, lchecked = False,
+            self.GetLayerTree().AddLayer(ltype = layertype, lchecked = True,
                                          lname = lname,
                                          lcmd = command)
 



More information about the grass-commit mailing list