We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent a70c025 commit fdffe8aCopy full SHA for fdffe8a
src/core/qgsvectorlayer.cpp
@@ -1154,6 +1154,10 @@ void QgsVectorLayer::setSubsetString( QString subset )
1154
1155
void QgsVectorLayer::updateFeatureAttributes( QgsFeature &f )
1156
{
1157
+ // do not update when we aren't in editing mode
1158
+ if ( ! mEditable )
1159
+ return;
1160
+
1161
if ( mChangedAttributeValues.contains( f.id() ) )
1162
1163
const QgsAttributeMap &map = mChangedAttributeValues[f.id()];
0 commit comments