Skip to content
Permalink
Browse files
Fix possible crash on exit
  • Loading branch information
m-kuhn committed Aug 2, 2013
1 parent c410404 commit 8e11a53a15d9d9d64e864221ec4210f49f89bcb6
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/attributetable/qgsdualview.cpp
@@ -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;

0 comments on commit 8e11a53

Please sign in to comment.