Skip to content

Commit

Permalink
Fix crash when clicking in empty relation editor
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Aug 10, 2016
1 parent 8e7cbc4 commit a6bcd7b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gui/attributetable/qgsfeaturelistview.cpp
Expand Up @@ -258,7 +258,8 @@ void QgsFeatureListView::mouseReleaseEvent( QMouseEvent *event )
}
else
{
mFeatureSelectionModel->enableSync( true );
if ( mFeatureSelectionModel )
mFeatureSelectionModel->enableSync( true );
}
}

Expand Down

0 comments on commit a6bcd7b

Please sign in to comment.