Skip to content
Permalink
Browse files

Merge pull request #6801 from m-kuhn/relRefIdInsteadOfName

Use relation id instead of name for nesting detection
  • Loading branch information
m-kuhn committed Apr 16, 2018
2 parents 5e33d7d + 435d807 commit e93c97cb9b7c8869822df47e242f75861a751271
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/editorwidgets/qgsrelationreferencewidgetwrapper.cpp
@@ -76,7 +76,7 @@ void QgsRelationReferenceWidgetWrapper::initWidget( QWidget *editor )
// If this widget is already embedded by the same relation, reduce functionality
do
{
if ( ctx->relation().name() == relation.name() )
if ( ctx->relation().id() == relation.id() )
{
mWidget->setEmbedForm( false );
mWidget->setReadOnlySelector( true );

0 comments on commit e93c97c

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