Explorar o código

fix importing vector during location creation when the vector file name does not match the layer name

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@71285 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová %!s(int64=7) %!d(string=hai) anos
pai
achega
52ee25357f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      gui/wxpython/gis_set.py

+ 1 - 1
gui/wxpython/gis_set.py

@@ -580,7 +580,7 @@ class GRASSStartup(wx.Frame):
 
         wx.BeginBusyCursor()
         wx.Yield()
-        if mapName in vectors:
+        if vectors:
             # vector detected
             returncode, error = RunCommand(
                 'v.in.ogr', input=filePath, output=mapName, flags='e',