spine-tools / Spine-Database-API

Database interface to Spine generic data model
https://www.tools-for-energy-system-modelling.org/
GNU Lesser General Public License v3.0
6 stars 5 forks source link

Fix opening infinite db editor tabs from same db #337

Closed PiispaH closed 5 months ago

PiispaH commented 5 months ago

If a db_map is already opened in a db editor, new tabs with the same db_map won't be opened anymore. Instead the one already open is brought up. If however the same db_map is opened in a new window, it is allowed to open.

Re spine-tools/Spine-Toolbox#2435

Checklist before merging

codecov-commenter commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (44b6883) 77.07% compared to head (d10e09f) 76.93%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## 0.8-dev #337 +/- ## =========================================== - Coverage 77.07% 76.93% -0.15% =========================================== Files 74 68 -6 Lines 9205 9153 -52 Branches 1944 1622 -322 =========================================== - Hits 7095 7042 -53 Misses 1778 1778 - Partials 332 333 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.