Skip to content

Commit

Permalink
Also use 'title' as a candidate for good field names for identifying …
Browse files Browse the repository at this point in the history
…features
  • Loading branch information
nyalldawson committed Jun 26, 2019
1 parent 5bed727 commit cd5e9a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/qgsvectorlayer.cpp
Expand Up @@ -3142,6 +3142,7 @@ QString QgsVectorLayer::displayExpression() const
// See discussion at https://github.com/qgis/QGIS/pull/30245 - this list must NOT be translated,
// but adding hardcoded localized variants of the strings is encouraged.
static QStringList sCandidates{ QStringLiteral( "name" ),
QStringLiteral( "title" ),
QStringLiteral( "heibt" ),
QStringLiteral( "desc" ),
QStringLiteral( "nom" ),
Expand Down

0 comments on commit cd5e9a9

Please sign in to comment.