Skip to content
Permalink
Browse files

Use "field" in expression eval feedback instead of "column"

  • Loading branch information
DelazJ authored and nyalldawson committed Jun 23, 2020
1 parent a43fc52 commit fd9f7fddab97a65e26fb1ffb25424166d047822e
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/expression/qgsexpressionnodeimpl.cpp
@@ -1308,7 +1308,7 @@ QVariant QgsExpressionNodeColumnRef::evalNode( QgsExpression *parent, const QgsE
return feature.attribute( mName );
}
}
parent->setEvalErrorString( tr( "Column '%1' not found" ).arg( mName ) );
parent->setEvalErrorString( tr( "Field '%1' not found" ).arg( mName ) );
return QVariant();
}

@@ -1333,7 +1333,7 @@ bool QgsExpressionNodeColumnRef::prepareNode( QgsExpression *parent, const QgsEx

if ( mIndex == -1 )
{
parent->setEvalErrorString( tr( "Column '%1' not found" ).arg( mName ) );
parent->setEvalErrorString( tr( "Field '%1' not found" ).arg( mName ) );
return false;
}
return true;

0 comments on commit fd9f7fd

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