Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix #13224 add joins crashes if no other vector layer exists
  • Loading branch information
3nids committed Aug 24, 2015
1 parent 42953e6 commit ab7c0bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsjoindialog.cpp
Expand Up @@ -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 );
Expand Down

0 comments on commit ab7c0bf

Please sign in to comment.