Skip to content

Commit 24aeab6

Browse files
authored
Merge pull request #7886 from signedav/bugfix_showRelation
[Bugfix] Show child features in search mode again
2 parents 1409547 + d32c34f commit 24aeab6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gui/qgsattributeformrelationeditorwidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ QgsAttributeFormRelationEditorWidget::QgsAttributeFormRelationEditorWidget( QgsR
2828

2929
void QgsAttributeFormRelationEditorWidget::createSearchWidgetWrappers( const QgsAttributeEditorContext &context )
3030
{
31-
if ( context.parentContext() )
31+
if ( !context.parentContext() )
3232
{
3333
mSearchWidget = new QgsRelationAggregateSearchWidgetWrapper( layer(), mWrapper, form() );
3434
mSearchWidget->setContext( context );

0 commit comments

Comments
 (0)