Skip to content
Permalink
Browse files
Add 'label' keyword to the friendly identifier field list
  • Loading branch information
nirvn authored and github-actions committed Jan 1, 2022
1 parent c40d32a commit b417b4a8b53905dba5cab6cae69ee6a8cc1c23f0
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/core/vector/qgsvectorlayerutils.cpp
@@ -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".

0 comments on commit b417b4a

Please sign in to comment.