Skip to content

Commit 48b1fc6

Browse files
committed
Empty relation reference form when FK is set to NULL
Fix #11852
1 parent 4d88ca7 commit 48b1fc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gui/editorwidgets/qgsrelationreferencewidget.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ void QgsRelationReferenceWidget::updateAttributeEditorFrame( const QgsFeature fe
560560
// Check if we're running with an embedded frame we need to update
561561
if ( mAttributeEditorFrame )
562562
{
563-
if ( feature.isValid() && mReferencedAttributeForm )
563+
if ( mReferencedAttributeForm )
564564
{
565565
mReferencedAttributeForm->setFeature( feature );
566566
}

0 commit comments

Comments
 (0)