Forráskód Böngészése

wxGUI: enable map layers add from wxGUI prompt

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@66936 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 9 éve
szülő
commit
c985492a97
2 módosított fájl, 2 hozzáadás és 2 törlés
  1. 1 1
      gui/wxpython/core/gconsole.py
  2. 1 1
      gui/wxpython/lmgr/frame.py

+ 1 - 1
gui/wxpython/core/gconsole.py

@@ -9,7 +9,7 @@ Classes:
  - 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.

+ 1 - 1
gui/wxpython/lmgr/frame.py

@@ -685,7 +685,7 @@ class GMFrame(wx.Frame):
             # 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)