浏览代码

wxGUI: fix typo in variable (new vector)
(merge from devbr6, https://trac.osgeo.org/grass/changeset/32969)


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

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

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

@@ -129,7 +129,7 @@ def CreateNewVector(parent, cmdDef, title=_('Create new vector map'),
         cmd.append("%s=%s" % (cmdDef[1], outmap))
         
         try:
-            listOfVector = grass.list_grouped('vect')[grass.gisenv()['MAPSET']]
+            listOfVectors = grass.list_grouped('vect')[grass.gisenv()['MAPSET']]
         except KeyError:
             listOfVectors = []