Skip to content
Permalink
Browse files

Fix crash when masking widget is not initialized

  • Loading branch information
troopa81 authored and nyalldawson committed May 18, 2020
1 parent 231a2df commit dc8b8e9a8fe62281bafbe175e7221eadbe128945
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/gui/vector/qgsvectorlayerproperties.cpp
@@ -615,7 +615,8 @@ void QgsVectorLayerProperties::apply()
mMetadataFilled = false;

// save masking settings
mMaskingWidget->apply();
if ( mMaskingWidget )
mMaskingWidget->apply();

//
// Set up sql subset query if applicable

0 comments on commit dc8b8e9

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