Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
DB manager: connections refresh
Fixes #34862
  • Loading branch information
elpaso authored and nyalldawson committed Mar 6, 2020
1 parent 834a092 commit ae5ddd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/db_manager/db_plugins/plugin.py
Expand Up @@ -178,7 +178,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) as ex:
settings = QgsSettings()
Expand Down

0 comments on commit ae5ddd7

Please sign in to comment.