mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-12 00:02:25 -04:00
Also use 'title' as a candidate for good field names for identifying features
This commit is contained in:
parent
5bed72760f
commit
cd5e9a9adc
@ -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" ),
|
||||
|
Loading…
x
Reference in New Issue
Block a user