Skip to content
Permalink
Browse files
Check for same transaction group
  • Loading branch information
elpaso committed Jun 18, 2021
1 parent fc40045 commit 3a24495ac6ea543b62a742103982b0fc9f6416da
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsattributetabledialog.cpp
@@ -239,7 +239,7 @@ QgsAttributeTableDialog::QgsAttributeTableDialog( QgsVectorLayer *layer, QgsAttr
{
for ( auto it = transactionGroups.constBegin(); it != transactionGroups.constEnd(); ++it )
{
if ( relation.isValid() )
if ( relation.isValid() && it.value()->layers().contains( { mLayer, relation.referencingLayer() } ) )
{
mReferencingLayers.push_back( relation.referencingLayer() );
connect( relation.referencingLayer(), &QgsVectorLayer::layerModified, this, &QgsAttributeTableDialog::updateLayerModifiedActions );

0 comments on commit 3a24495

Please sign in to comment.