Просмотр исходного кода

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 лет назад
Родитель
Сommit
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
         mapsets = {}
         for i, p, v in params:
+            if p == 'layer':
+                continue
             mapname = v
             mapset = ''
             if fullyQualified and '@' not in mapname: