Bug report #13344
Processing Import into PostGIS: list of connection does not refresh
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Processing/OGR | ||
Affected QGIS version: | 2.10.1 | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | duplicate |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 21397 |
Description
New PoastGIS connections are not listed on the list of connections in the Processing dialog; QGIS has to be restarted to take the new connection into account.
Related issues
History
#1 Updated by Spencer Gardner about 9 years ago
I have noticed this as well since at least 2.6.
Seems odd. The code populates the DB selections from QSettings, which appears to update correctly when I add a new DB. I tested with the following code in the Python console, adapted from the tool's code:
-----------------------------------------------
from PyQt4.QtCore import QSettings
settings = QSettings()
settings.beginGroup('/PostgreSQL/connections/')
settings.childGroups()
(create new db in postgis)
settings = QSettings()
settings.beginGroup('/PostgreSQL/connections/')
settings.childGroups()
-----------------------------------------------
#2 Updated by Alexander Bruy almost 9 years ago
- Resolution set to duplicate
- Status changed from Open to Closed
Duplicates #13041