1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2025-08-12 02:32:25 -04:00

Make comparisons case insensitive, as DAB ensemble names in database may not match transmitted.

This commit is contained in:
Jon Beniston 2023-03-03 22:55:15 +00:00
parent de7192b6b4
commit 1b99d1a80b

View File

@ -586,7 +586,7 @@ ObjectMapItem *ObjectMapModel::findMapItem(const QString& name)
while (i.hasNext()) while (i.hasNext())
{ {
MapItem *item = i.next(); MapItem *item = i.next();
if (item->m_name == name) { if (!item->m_name.compare(name, Qt::CaseInsensitive)) {
return (ObjectMapItem *)item; return (ObjectMapItem *)item;
} }
} }