Skip to content

Commit

Permalink
Empty relation reference form when FK is set to NULL
Browse files Browse the repository at this point in the history
Fix #11852
  • Loading branch information
m-kuhn committed Jan 5, 2015
1 parent 4d88ca7 commit 48b1fc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/editorwidgets/qgsrelationreferencewidget.cpp
Expand Up @@ -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 );
}
Expand Down

0 comments on commit 48b1fc6

Please sign in to comment.