Skip to content
Permalink
Browse files

Merge pull request #34890 from elpaso/bugfix-gh34862-db-manager-stink…

…s-again

DB manager: connections refresh
  • Loading branch information
elpaso committed Mar 6, 2020
2 parents 9bbfe81 + d3649a5 commit b3864dbf3a6b744758bdeaf58bbf159b38258693
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/db_manager/db_plugins/plugin.py
@@ -204,7 +204,7 @@ def connections(self):
# First try with the new core API, if that fails, proceed with legacy code
try:
md = QgsProviderRegistry.instance().providerMetadata(self.providerName())
for name in md.dbConnections().keys():
for name in md.dbConnections(False).keys():
conn_list.append(createDbPlugin(self.typeName(), name))
except (AttributeError, QgsProviderConnectionException):
settings = QgsSettings()

0 comments on commit b3864db

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