diff --git a/python/plugins/GdalTools/tools/GdalTools_utils.py b/python/plugins/GdalTools/tools/GdalTools_utils.py index d4ff3f6c8f8..18ec95d8760 100644 --- a/python/plugins/GdalTools/tools/GdalTools_utils.py +++ b/python/plugins/GdalTools/tools/GdalTools_utils.py @@ -153,6 +153,8 @@ class LayerRegistry(QObject): 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):