Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add 'label' keyword to the friendly identifier field list
  • Loading branch information
nirvn authored and github-actions[bot] committed Jan 1, 2022
1 parent c40d32a commit b417b4a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/vector/qgsvectorlayerutils.cpp
Expand Up @@ -1146,7 +1146,8 @@ QString QgsVectorLayerUtils::guessFriendlyIdentifierField( const QgsFields &fiel
QStringLiteral( "desc" ),
QStringLiteral( "nom" ),
QStringLiteral( "street" ),
QStringLiteral( "road" ) };
QStringLiteral( "road" ),
QStringLiteral( "label" ) };

// anti-names
// this list of strings indicates parts of field names which make the name "less interesting".
Expand Down

0 comments on commit b417b4a

Please sign in to comment.