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 22c0c45 commit 276b013e96339354e3310349b7329d821366da82
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 276b013

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