Skip to content
Permalink
Browse files

Fixes #18435: QGIS crash when deleting auxiliary layer

  • Loading branch information
slarosa committed Mar 14, 2018
1 parent 193c554 commit 8aa7b56505f094397efa0bca0c35f8a4e42a4acb
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/core/qgsvectorlayer.cpp
@@ -4304,7 +4304,8 @@ void QgsVectorLayer::setAuxiliaryLayer( QgsAuxiliaryLayer *alayer )
}

mAuxiliaryLayer.reset( alayer );
mAuxiliaryLayer->setParent( this );
if ( mAuxiliaryLayer )
mAuxiliaryLayer->setParent( this );
updateFields();
}

0 comments on commit 8aa7b56

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