Skip to content
Permalink
Browse files

Fix adding new features

  • Loading branch information
suricactus committed Dec 31, 2020
1 parent c3411b9 commit 01fd98355b0e39658e98bce8248b3b369c64740a
Showing with 1 addition and 3 deletions.
  1. +1 −3 src/gui/qgsrelationwidget.cpp
@@ -267,9 +267,7 @@ void QgsRelationWidget::addFeature( const QgsGeometry &geometry )
for ( const QgsRelation::FieldPair &fieldPair : constFieldPairs )
{
keyAttrs.insert( fields.indexFromName( fieldPair.referencingField() ), mFeature.attribute( fieldPair.referencedField() ) );

// TODO FINISH!!!!
// vlTools->addFeature( mDualView->masterModel()->layer(), keyAttrs, geometry );
vlTools->addFeature( mRelation.referencingLayer(), keyAttrs, geometry );
}
}
}

0 comments on commit 01fd983

Please sign in to comment.
You can’t perform that action at this time.