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

Fixes #33449 Snapping empty layer when adding new feature #33757

Merged
merged 1 commit into from Jan 13, 2020

Conversation

troopa81
Copy link
Contributor

Description

If the layer is empty and we create a new features, these ones are not indexed. This PR reset the mIsEmptyLayer boolean when a feature is added so the index could be build.

Checklist

  • Commit messages are descriptive and explain the rationale for changes
  • Commits which fix bugs include Fixes #11111 at the bottom of the commit message
  • I have read the QGIS Coding Standards and this PR complies with them
  • New unit tests have been added for core changes
  • I have run the scripts/prepare-commit.sh script before each commit
  • I have evaluated whether it is appropriate for this PR to be backported, backport requests are left as label or comment

@troopa81 troopa81 added Bug Either a bug report, or a bug fix. Let's hope for the latter! Editing labels Jan 13, 2020
@github-actions github-actions bot added this to the 3.12.0 milestone Jan 13, 2020
@nyalldawson
Copy link
Collaborator

Unrelated test failure

@nyalldawson nyalldawson merged commit 6b96794 into qgis:master Jan 13, 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! Editing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants