We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 88e8eb4 commit a30e1cbCopy full SHA for a30e1cb
src/core/qgsvectorlayer.cpp
@@ -4270,11 +4270,11 @@ bool QgsVectorLayer::loadAuxiliaryLayer( const QgsAuxiliaryStorage &storage )
4270
4271
void QgsVectorLayer::setAuxiliaryLayer( QgsAuxiliaryLayer *alayer )
4272
{
4273
+ if ( mAuxiliaryLayer )
4274
+ removeJoin( mAuxiliaryLayer->id() );
4275
+
4276
if ( alayer )
4277
- if ( mAuxiliaryLayer )
- removeJoin( mAuxiliaryLayer->id() );
-
4278
addJoin( alayer->joinInfo() );
4279
4280
if ( !alayer->isEditable() )
0 commit comments