Skip to content
Permalink
Browse files

DB manager: connections refresh

Fixes #34862
  • Loading branch information
elpaso authored and nyalldawson committed Mar 5, 2020
1 parent 185d016 commit 54e380402e41edb8b7bbf019a93a0aea7734b79c
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 54e3804

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