Skip to content

Commit dc8b8e9

Browse files
troopa81nyalldawson
authored andcommittedMay 18, 2020
Fix crash when masking widget is not initialized
1 parent 231a2df commit dc8b8e9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎src/gui/vector/qgsvectorlayerproperties.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,8 @@ void QgsVectorLayerProperties::apply()
615615
mMetadataFilled = false;
616616

617617
// save masking settings
618-
mMaskingWidget->apply();
618+
if ( mMaskingWidget )
619+
mMaskingWidget->apply();
619620

620621
//
621622
// Set up sql subset query if applicable

0 commit comments

Comments
 (0)
Please sign in to comment.