Skip to content
Permalink
Browse files

make sure gdaltools input vector layers are ogr vectors

  • Loading branch information
brushtyler authored and timlinux committed Sep 7, 2011
1 parent f277a84 commit dc9d7a280127098e79cc61e6a8d00c5ba6b0aa1b
Showing with 2 additions and 0 deletions.
  1. +2 −0 python/plugins/GdalTools/tools/GdalTools_utils.py
@@ -153,6 +153,8 @@ def getRasterLayers(self):
def isVector(self, layer):
if layer.type() != layer.VectorLayer:
return False
if layer.usesProvider() and layer.providerKey() != 'ogr':
return False
return True

def getVectorLayers(self):

0 comments on commit dc9d7a2

Please sign in to comment.
You can’t perform that action at this time.