Skip to content
Permalink
Browse files

Reduce functionality in case of a widget already embedded by the same…

… relation
  • Loading branch information
pblottiere committed Dec 1, 2017
1 parent 042e267 commit 5d520668a731d2cdba09eca174c64af23312fc3f
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/editorwidgets/qgsrelationreferencewidgetwrapper.cpp
@@ -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();

0 comments on commit 5d52066

Please sign in to comment.
You can’t perform that action at this time.