Merge pull request #62518 from qgis/backport-62505-to-release-3_44

[Backport release-3_44] Fix again value map config dlg with NULL values
This commit is contained in:
Alexander Bruy 2025-07-07 17:12:12 +01:00 committed by GitHub
commit 9e1d0c2346
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -246,7 +246,7 @@ void QgsValueMapConfigDlg::updateMap( const QList<QPair<QString, QVariant>> &lis
QString QgsValueMapConfigDlg::checkValueLength( const QString &value )
{
if ( value == QgsApplication::nullRepresentation() )
if ( value == QgsValueMapFieldFormatter::NULL_VALUE || value == QgsApplication::nullRepresentation() )
{
return value;
}