Skip to content

Commit

Permalink
Fix missing brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
DelazJ authored and nyalldawson committed Aug 15, 2020
1 parent 3846b04 commit 8c9180a
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" ) or cleaned == QLatin1String( "geometry_a" ) )
cleaned = QStringLiteral( "geometry1" );
else if ( cleaned == QLatin1String( "geometry b" ) or cleaned == QLatin1String( "geometry_b" )
else if ( cleaned == QLatin1String( "geometry b" ) or cleaned == QLatin1String( "geometry_b" ) )
cleaned = QStringLiteral( "geometry2" );

return cleaned;
Expand Down

0 comments on commit 8c9180a

Please sign in to comment.