Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix misleading docs that is only valid if edit buffer is used (so doe…
…s not work in transaction mode) Long story short, the `layer.committedFeaturesAdded` signal is not fired after `layer.commitChanges()` when in transaction mode. If the layer is using the `QgsVectorLayerEditBuffer` the `commitedFeaturesAdded` signal is fired. But if transaction is used and the `layer.editBuffer()` returns `QgsVectorLayerEditPasstrough`, then there is no signal. The `QgsVectorLayerEditPasstrough` class is quite empty and lacking implementation of these events, so they don't work on layers in a transaction group.
- Loading branch information
1 parent
7b5cd9b
commit 527359b
Showing
2 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters