Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix crash when opening properties for geometryless layers (fix #14116)
  • Loading branch information
nyalldawson committed Jan 16, 2016
1 parent 11081f8 commit 1cd4570
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/qgsvectorlayerproperties.cpp
Expand Up @@ -474,7 +474,8 @@ void QgsVectorLayerProperties::syncToLayer( void )

actionDialog->init();

labelingDialog->adaptToLayer();
if ( labelingDialog )
labelingDialog->adaptToLayer();

// reset fields in label dialog
layer->label()->setFields( layer->fields() );
Expand Down

0 comments on commit 1cd4570

Please sign in to comment.