Skip to content

Commit ec3ea88

Browse files
committedAug 10, 2016
Fix crash when clicking in empty relation editor
1 parent 8249064 commit ec3ea88

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎src/gui/attributetable/qgsfeaturelistview.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,8 @@ void QgsFeatureListView::mouseReleaseEvent( QMouseEvent *event )
257257
}
258258
else
259259
{
260-
mFeatureSelectionModel->enableSync( true );
260+
if ( mFeatureSelectionModel )
261+
mFeatureSelectionModel->enableSync( true );
261262
}
262263
}
263264

0 commit comments

Comments
 (0)
Please sign in to comment.