Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fix adding new features
- Loading branch information
Showing
with
1 addition
and
3 deletions.
-
+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 ); |
|
|
} |
|
|
} |
|
|
} |
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.