Skip to content
Permalink
Browse files

[dbmanager] Fix exception when browsing project layers

  • Loading branch information
nyalldawson committed Nov 10, 2018
1 parent 669f6bb commit 149726cfa5955f707441ec1c936094fccd0a33ec
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 149726c

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