Skip to content
Permalink
Browse files
Add 'label' keyword to the friendly identifier field list
  • Loading branch information
nirvn authored and nyalldawson committed Jan 4, 2022
1 parent b81c83a commit 45aa0b7c3abb466321e5c34bd2d957478f5d2faa
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 45aa0b7

Please sign in to comment.