Skip to content

Commit 8e11a53

Browse files
committedAug 2, 2013
Fix possible crash on exit
1 parent c410404 commit 8e11a53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/gui/attributetable/qgsdualview.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ void QgsDualView::saveEditChanges()
262262
{
263263
if ( mAttributeDialog && mAttributeDialog->dialog() )
264264
{
265-
if ( mLayerCache->layer()->isEditable() )
265+
if ( mLayerCache->layer() && mLayerCache->layer()->isEditable() )
266266
{
267267
// Get the current (unedited) feature
268268
QgsFeature srcFeat;

0 commit comments

Comments
 (0)
Please sign in to comment.