Skip to content

Commit

Permalink
Fix #13224 add joins crashes if no other vector layer exists
Browse files Browse the repository at this point in the history
  • 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
Original file line number Diff line number Diff line change
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.