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

[snapping] Invalidate the filtered layer tree model when a parent group switches from empty/non-empty state #59668

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

nirvn
Copy link
Contributor

@nirvn nirvn commented Nov 30, 2024

Description

This PR fixes #59469 whereas creating a new group and moving layers into that group doesn't show in the advanced snapping layer tree widget.

The layers are hidden as the snapping layer tree model filters out empty group. When children are added into the group, the filtered model didn't invalidate its filter, resulting in both the group and the added children gone missing from the tree widget.

Copy link

github-actions bot commented Nov 30, 2024

🪟 Windows builds

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

🪟 Windows Qt6 builds

Download Windows Qt6 builds of this PR for testing.
(Built from commit 10b8875)

@nirvn nirvn force-pushed the snapping_layers_model_fix branch from d0b7cf5 to 10b8875 Compare November 30, 2024 03:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect operation of advanced configuration in project snapping settings.
2 participants