Is there a signal that I can listen for changes to any QgsVectorLayer
s rather than having a listener for each layer? I have a scenario where layer A
and B
must be committed together which I have a validation logic within the method.
When I make changes to QgsVectorLayer
and save the layer, I can listen for such event via signals like QgsVectorLayer.beforeCommitChanges(..)
.
When I make changes to multiple QgsVectorLayer
s, I receive multiple beforeCommitChanges
signal for each affected layer. Instead, I want a way to derive single signal which contain all affected layers.