hdus / pg_raster_upload

QGIS plugin for uploading raster data to a PostGIS database.
GNU General Public License v2.0
5 stars 3 forks source link

Schema list keeps items from previously selected databases #4

Closed effjot closed 2 years ago

effjot commented 2 years ago

When you select different databases, the schema combobox isn’t cleared, so the old schemas accumulate in the list.

effjot commented 2 years ago

I’m sorry that the supposedly easy fix introduced an regression. Because init_DB() is called again when uploading, the schema combobox is udpated. As now this update includes a clear() call, it means that the selection will always be reset to the first item, when the upload button is clicked.

I’m looking into this to improve the fix.