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

Please sign in to comment.