Also use 'title' as a candidate for good field names for identifying features

This commit is contained in:
Nyall Dawson 2019-06-27 07:43:03 +10:00
parent 5bed72760f
commit cd5e9a9adc

View File

@ -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" ),