Skip to content
Browse files

fix gdaltools error checking for ogr layers

  • Loading branch information
brushtyler committed Sep 12, 2011
1 parent f1d7062 commit f2b6876085cd44ff18a48e373da3e80ad9579875
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/GdalTools/tools/
@@ -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 f2b6876

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