Skip to content
Permalink
Browse files

Fix #13224 add joins crashes if no other vector layer exists

  • Loading branch information
3nids committed Aug 24, 2015
1 parent 42953e6 commit ab7c0bff8719a756da06ea193d3545d1a7e418a3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsjoindialog.cpp
@@ -47,7 +47,7 @@ QgsJoinDialog::QgsJoinDialog( QgsVectorLayer* layer, QList<QgsMapLayer*> already
mCacheInMemoryCheckBox->setChecked( true );

QgsMapLayer *joinLayer = mJoinLayerComboBox->currentLayer();
if ( joinLayer->isValid() )
if ( joinLayer && joinLayer->isValid() )
{
mJoinFieldComboBox->setLayer( joinLayer );
joinedLayerChanged( joinLayer );

0 comments on commit ab7c0bf

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