Skip to content

Commit

Permalink
fix gdaltools error checking for ogr layers
Browse files Browse the repository at this point in the history
  • Loading branch information
brushtyler authored and timlinux committed Nov 11, 2011
1 parent e089730 commit 188d55c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/GdalTools/tools/GdalTools_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 188d55c

Please sign in to comment.