Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When a layer changes from non-spatial to spatial, update canvas layers #60371

Merged
merged 1 commit into from
Jan 31, 2025

Conversation

nyalldawson
Copy link
Collaborator

If a layer changes data source then it may potentially change from a non-spatial layer to a spatial layer. Accordingly, listen out for this and trigger a canvas layer update whenever a layer's source changes. This ensures that ALL spatial layers are correctly visible in the canvas immediately after the source change triggers the spatial status change.

Fixes #59723

If a layer changes data source then it may potentially change from
a non-spatial layer to a spatial layer. Accordingly, listen out
for this and trigger a canvas layer update whenever a layer's source
changes. This ensures that ALL spatial layers are correctly
visible in the canvas immediately after the source change triggers
the spatial status change.

Fixes qgis#59723
@github-actions github-actions bot added this to the 3.42.0 milestone Jan 31, 2025
Copy link

github-actions bot commented Jan 31, 2025

🪟 Windows builds

Download Windows builds of this PR for testing.
Debug symbols for this build are available here.
(Built from commit 3a850ec)

🪟 Windows Qt6 builds

Download Windows Qt6 builds of this PR for testing.
(Built from commit 3a850ec)

@nyalldawson nyalldawson merged commit 1cf9734 into qgis:master Jan 31, 2025
34 checks passed
@nyalldawson nyalldawson deleted the fix_59723 branch January 31, 2025 07:14
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.

[SensorThings] Modify source and apply doesn't refresh
2 participants