Skip to content
Permalink
Browse files
fix gdaltools error checking for ogr layers
  • Loading branch information
brushtyler authored and timlinux committed Nov 11, 2011
1 parent e089730 commit 188d55cd369dcb25e6a723ed497bf4f233eda530
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/GdalTools/tools/GdalTools_utils.py
@@ -153,7 +153,7 @@ def getRasterLayers(self):
def isVector(self, layer):
if layer.type() != layer.VectorLayer:
return False
if layer.usesProvider() and layer.providerKey() != 'ogr':
if layer.providerType() != 'ogr':
return False
return True

0 comments on commit 188d55c

Please sign in to comment.