Skip to content

Instantly share code, notes, and snippets.

@slarosa
Created September 27, 2015 20:20
Show Gist options
  • Save slarosa/9843a5ee38161d4e2d92 to your computer and use it in GitHub Desktop.
Save slarosa/9843a5ee38161d4e2d92 to your computer and use it in GitHub Desktop.
diff --git a/src/core/qgsvectorlayer.cpp b/src/core/qgsvectorlayer.cpp
index 65596c2..9f7468b 100644
--- a/src/core/qgsvectorlayer.cpp
+++ b/src/core/qgsvectorlayer.cpp
@@ -2965,8 +2965,8 @@ void QgsVectorLayer::removeExpressionField( int index )
{
int oi = mUpdatedFields.fieldOriginIndex( index );
mExpressionFieldBuffer->removeExpression( oi );
- updateFields();
emit attributeDeleted( index );
+ updateFields();
}
const QString QgsVectorLayer::expressionField( int index )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment