Skip to content

Commit

Permalink
Merge pull request #57875 from nirvn/child_feature_form_add_fix
Browse files Browse the repository at this point in the history
[attribute form] Fix addition of features from a child feature dialog being added
  • Loading branch information
nirvn authored Jun 26, 2024
2 parents 144db4b + 717506d commit 86eb998
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 86eb998

Please sign in to comment.