mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
make sure gdaltools input vector layers are ogr vectors
This commit is contained in:
parent
372696e0ac
commit
431219744a
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user