Fix again value map config dlg with NULL values

This commit is contained in:
Andrea Giudiceandrea 2025-07-04 01:12:40 +02:00
parent a26b91b364
commit 2f8de1e7cb

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;
}