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

[Backport release-3_28] Don't emit layerModified for every atomic change made during a bulk operation to the vector layer edit buffer #50924

Merged
merged 5 commits into from
Nov 18, 2022

Conversation

qgis-bot
Copy link
Collaborator

Backport #50899
Authored by: @nyalldawson

nyalldawson and others added 5 commits November 18, 2022 01:55
operation to the vector layer edit buffer

Eg Instead of emitting layerModified for every individual feature
in a call to QgsVectorLayer::addFeatures, we defer the signal
and emit it only once after adding all the features.

This avoids a lot of expensive, unnecessary work which is triggered
by the signal
Co-authored-by: Julien Cabieces <julien.cabieces@oslandia.com>
@github-actions github-actions bot added this to the 3.28.1 milestone Nov 18, 2022
@troopa81 troopa81 merged commit 48b9b5c into release-3_28 Nov 18, 2022
@troopa81 troopa81 deleted the backport-50899-to-release-3_28 branch November 18, 2022 08:23
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.

None yet

3 participants