mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
Merge branch 'master' of github.com:qgis/Quantum-GIS
This commit is contained in:
commit
9561c3d696
@ -153,7 +153,7 @@ class LayerRegistry(QObject):
|
||||
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user