Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove check on args with space
  • Loading branch information
DelazJ authored and nyalldawson committed Aug 15, 2020
1 parent 3c35b75 commit e95e1be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/expression/qgsexpressionnodeimpl.cpp
Expand Up @@ -91,9 +91,9 @@ QString QgsExpressionNode::NodeList::cleanNamedNodeName( const QString &name )
cleaned = QStringLiteral( "geometry" );
else if ( cleaned == QLatin1String( "val" ) )
cleaned = QStringLiteral( "value" );
else if ( cleaned == QLatin1String( "geometry a" ) or cleaned == QLatin1String( "geometry_a" ) )
else if ( cleaned == QLatin1String( "geometry a" ) )
cleaned = QStringLiteral( "geometry1" );
else if ( cleaned == QLatin1String( "geometry b" ) or cleaned == QLatin1String( "geometry_b" ) )
else if ( cleaned == QLatin1String( "geometry b" ) )
cleaned = QStringLiteral( "geometry2" );

return cleaned;
Expand Down

0 comments on commit e95e1be

Please sign in to comment.