Skip to content

Commit

Permalink
[attribute form] Fix addition of features from a child feature dialog…
Browse files Browse the repository at this point in the history
… being added
  • Loading branch information
nirvn committed Jun 25, 2024
1 parent 2fb1de2 commit 717506d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsabstractrelationeditorwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ QgsFeatureIds QgsAbstractRelationEditorWidget::addFeature( const QgsGeometry &ge

QgsVectorLayerToolsContext context;
context.setParentWidget( this );
context.setShowModal( true );
context.setShowModal( false );
context.setHideParent( true );
std::unique_ptr<QgsExpressionContextScope> scope( QgsExpressionContextUtils::parentFormScope( mFeatureList.first(), mEditorContext.attributeFormModeString() ) );
context.setAdditionalExpressionContextScope( scope.get() );
Expand Down

0 comments on commit 717506d

Please sign in to comment.