Skip to content

Commit

Permalink
Reduce functionality in case of a widget already embedded by the same…
Browse files Browse the repository at this point in the history
… relation
  • Loading branch information
pblottiere committed Dec 13, 2017
1 parent 042e267 commit 5d52066
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -71,7 +71,7 @@ void QgsRelationReferenceWidgetWrapper::initWidget( QWidget* editor )
if ( ctx->relation().name() == relation.name() )
{
mWidget->setEmbedForm( false );
mWidget->setReadOnlySelector( false );
mWidget->setReadOnlySelector( true );
mWidget->setAllowMapIdentification( false );
}
ctx = ctx->parentContext();
Expand Down

0 comments on commit 5d52066

Please sign in to comment.