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

Don't modify project when snapping utils config is modified #36797

Merged
merged 1 commit into from
May 28, 2020

Conversation

troopa81
Copy link
Contributor

Fixes #36796

QgsSnappingUtils configuration is modified from snapToEditableLayer and so fire configChanged signal which modifies the project.

I remove the signal connection which was added in 5176ecf

The shortcut for toggle snapping seems to not exist anymore and modifying project snapping configuration should be done thanks to QgsProject method setSnappingConfig, not from QgsSnappingUtils.

@troopa81 troopa81 changed the title Don't modify project when snapping utils object is modified Don't modify project when snapping utils config is modified May 28, 2020
@troopa81 troopa81 added backport release-3_10 Bug Either a bug report, or a bug fix. Let's hope for the latter! labels May 28, 2020
@github-actions github-actions bot added this to the 3.14.0 milestone May 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Project is modified as soon as you move cursor on canvas
2 participants