Skip to content
Permalink
Browse files

fix PyQgsVectorLayer test

  • Loading branch information
jef-n committed Nov 8, 2014
1 parent 881e25b commit f8a21bf9cdeb4cf22546201b2ed8a7d389149161
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/core/qgsvectorlayer.cpp
@@ -2119,6 +2119,9 @@ QString QgsVectorLayer::attributeDisplayName( int attributeIndex ) const

bool QgsVectorLayer::deleteAttribute( int index )
{
if ( index < 0 || index >= pendingFields().count() )
return false;

if ( mUpdatedFields.fieldOrigin( index ) == QgsFields::OriginExpression )
{
removeExpressionField( index );

0 comments on commit f8a21bf

Please sign in to comment.
You can’t perform that action at this time.