Skip to content
Permalink
Browse files
Empty relation reference form when FK is set to NULL
Fix #11852
  • Loading branch information
m-kuhn committed Jan 5, 2015
1 parent 4d88ca7 commit 48b1fc66917b3366967c85d7e0dac0c3ba23abad
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/editorwidgets/qgsrelationreferencewidget.cpp
@@ -560,7 +560,7 @@ void QgsRelationReferenceWidget::updateAttributeEditorFrame( const QgsFeature fe
// Check if we're running with an embedded frame we need to update
if ( mAttributeEditorFrame )
{
if ( feature.isValid() && mReferencedAttributeForm )
if ( mReferencedAttributeForm )
{
mReferencedAttributeForm->setFeature( feature );
}

0 comments on commit 48b1fc6

Please sign in to comment.