Skip to content
Permalink
Browse files

Fix crash when opening properties for geometryless layers (fix #14116)

  • Loading branch information
nyalldawson committed Jan 16, 2016
1 parent 11081f8 commit 1cd4570136344caafebbe911bbe797ddbc87a56a
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/app/qgsvectorlayerproperties.cpp
@@ -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() );

0 comments on commit 1cd4570

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