Skip to content

Commit

Permalink
Do not show join configuration for auxiliary layer
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere committed Oct 9, 2017
1 parent c4dd1d4 commit 2d79601
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/app/qgsvectorlayerproperties.cpp
Expand Up @@ -1260,6 +1260,11 @@ void QgsVectorLayerProperties::addJoinToTreeWidget( const QgsVectorLayerJoinInfo
}

joinItem->setText( 0, QStringLiteral( "Join layer" ) );
if ( mLayer->auxiliaryLayer() && mLayer->auxiliaryLayer()->id() == join.joinLayerId() )
{
return;
}

joinItem->setText( 1, joinLayer->name() );

QFont f = joinItem->font( 0 );
Expand Down

0 comments on commit 2d79601

Please sign in to comment.