Skip to content

Commit

Permalink
Fix possible crash on exit
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Aug 2, 2013
1 parent c410404 commit 8e11a53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/attributetable/qgsdualview.cpp
Expand Up @@ -262,7 +262,7 @@ void QgsDualView::saveEditChanges()
{
if ( mAttributeDialog && mAttributeDialog->dialog() )
{
if ( mLayerCache->layer()->isEditable() )
if ( mLayerCache->layer() && mLayerCache->layer()->isEditable() )
{
// Get the current (unedited) feature
QgsFeature srcFeat;
Expand Down

0 comments on commit 8e11a53

Please sign in to comment.