Skip to content

Commit

Permalink
Merge pull request #467 from 3nids/immutablefields
Browse files Browse the repository at this point in the history
[fix #7332] enables fields edition for newly added layers
  • Loading branch information
NathanW2 committed Mar 13, 2013
2 parents bb5c471 + 96887b8 commit 07c11a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsvectorlayer.cpp
Expand Up @@ -3904,7 +3904,7 @@ bool QgsVectorLayer::fieldEditable( int idx )
if ( idx >= 0 && idx < fields.count() && mEditTypes.contains( fields[idx].name() ) )
return mFieldEditables[ fields[idx].name()];
else
return false;
return true;
}

void QgsVectorLayer::setFieldEditable( int idx, bool editable )
Expand Down

0 comments on commit 07c11a0

Please sign in to comment.