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:
parent
de7192b6b4
commit
1b99d1a80b
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user