From 717506d05d9b272b8eb18d2695ea9a74d762b56c Mon Sep 17 00:00:00 2001 From: Mathieu Pellerin Date: Tue, 25 Jun 2024 16:53:41 +0700 Subject: [PATCH] [attribute form] Fix addition of features from a child feature dialog being added --- src/gui/qgsabstractrelationeditorwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/qgsabstractrelationeditorwidget.cpp b/src/gui/qgsabstractrelationeditorwidget.cpp index b82081be896f..2744c8fe6820 100644 --- a/src/gui/qgsabstractrelationeditorwidget.cpp +++ b/src/gui/qgsabstractrelationeditorwidget.cpp @@ -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 scope( QgsExpressionContextUtils::parentFormScope( mFeatureList.first(), mEditorContext.attributeFormModeString() ) ); context.setAdditionalExpressionContextScope( scope.get() );