Skip to content

Skip export_auth when synced project isn't open in QGIS#920

Merged
MarcelGeo merged 1 commit into
masterfrom
fix/issue-917-sync-unopened-project
Jun 1, 2026
Merged

Skip export_auth when synced project isn't open in QGIS#920
MarcelGeo merged 1 commit into
masterfrom
fix/issue-917-sync-unopened-project

Conversation

@harminius

@harminius harminius commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Fixes #917 — regression from #912.

AuthSync() falls back to QgsProject.instance(), so triggering Sync on a Browser-panel project that isn't open in QGIS crashes. Reuse "is this the open project?" checkto guard theexport_auth` call.

@harminius harminius requested a review from MarcelGeo June 1, 2026 13:58
@MarcelGeo MarcelGeo merged commit 76ce700 into master Jun 1, 2026
11 checks passed
@MarcelGeo MarcelGeo deleted the fix/issue-917-sync-unopened-project branch June 1, 2026 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Project sync fails within merginmaps plugin version 2026.4.1 and QGIS Version 3.44.8

2 participants