earthdaily / qgis-plugin

🗺️ To be able to discover, request and use aggregate imagery products based on landsat-8/9, Sentinel 2 and other sensors from within QGIS, using the <geosys/> API.
GNU General Public License v3.0
15 stars 7 forks source link

Auto select previous layer #242

Closed vermeulendivan closed 1 year ago

vermeulendivan commented 1 year ago

fixes #235 Previously the plugin would always go alphabetically, so if more layers has been added or disabled, the previously selected layer would not be selected. With this change, when a coverage search is done on a particular layer, and the user then clicks back after the search, the previous layer will again be selected - even if there has been a change to the layers open or disabled in QGIS. If the layer has been disabled or removed from the open layers in QGIS, it will not be selected but work aphabetically again.

vermeulendivan commented 1 year ago

@Samweli Thanks for the feedback! I've applied the suggestion from your side. Also did a test to be sure the auto change still works as it should, and no issue found.

Samweli commented 1 year ago

@vermeulendivan for some reasons the PR keeps failing the CI tests!