Skip to content

Instantly share code, notes, and snippets.

@slarosa
Created September 27, 2015 20:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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