Skip to content
Permalink
Browse files

[dbmanager] Fix exception when browsing project layers

(cherry picked from commit 149726c)
  • Loading branch information
nyalldawson committed Nov 10, 2018
1 parent 49e5f4f commit 25faaa0062d66cd41704ea422a0b5a56c93525b2
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/db_manager/db_plugins/vlayers/connector.py
@@ -193,7 +193,7 @@ def getVectorTables(self, schema=None):
reg = VLayerRegistry.instance()
VLayerRegistry.instance().reset()
lst = []
for _, l in QgsProject.instance().mapLayers():
for _, l in QgsProject.instance().mapLayers().items():
if l.type() == QgsMapLayer.VectorLayer:

lname = l.name()

0 comments on commit 25faaa0

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