Explorar o código

wxGUI: fix bug introduced by https://trac.osgeo.org/grass/changeset/53243

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@53261 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová %!s(int64=12) %!d(string=hai) anos
pai
achega
714f22cb89
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      gui/wxpython/core/utils.py

+ 2 - 0
gui/wxpython/core/utils.py

@@ -135,6 +135,8 @@ def GetLayerNameFromCmd(dcmd, fullyQualified = False, param = None,
         # need to add mapset for all maps
         mapsets = {}
         for i, p, v in params:
+            if p == 'layer':
+                continue
             mapname = v
             mapset = ''
             if fullyQualified and '@' not in mapname: