浏览代码

wxGUI: fix GetLayerNameFromCmd()
(merge https://trac.osgeo.org/grass/changeset/39500 from devbr6)


git-svn-id: https://svn.osgeo.org/grass/grass/trunk@39501 15284696-431f-4ddb-bdfa-cd5b030d7da7

Martin Landa 15 年之前
父节点
当前提交
86a1b9af3e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      gui/wxpython/gui_modules/utils.py

+ 1 - 1
gui/wxpython/gui_modules/utils.py

@@ -102,7 +102,7 @@ def GetLayerNameFromCmd(dcmd, fullyQualified=False, param=None,
                 continue
             
             if p == param:
-                params.append((idx, p, v))
+                params = [(idx, p, v)]
                 break
             
             if p in ('map', 'input',