瀏覽代碼

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á 12 年之前
父節點
當前提交
714f22cb89
共有 1 個文件被更改,包括 2 次插入0 次删除
  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
         # need to add mapset for all maps
         mapsets = {}
         mapsets = {}
         for i, p, v in params:
         for i, p, v in params:
+            if p == 'layer':
+                continue
             mapname = v
             mapname = v
             mapset = ''
             mapset = ''
             if fullyQualified and '@' not in mapname:
             if fullyQualified and '@' not in mapname: