Skip to content

Commit

Permalink
Fix crash when masking widget is not initialized
Browse files Browse the repository at this point in the history
  • Loading branch information
troopa81 authored and nyalldawson committed May 18, 2020
1 parent 231a2df commit dc8b8e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gui/vector/qgsvectorlayerproperties.cpp
Expand Up @@ -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
Expand Down

0 comments on commit dc8b8e9

Please sign in to comment.