diff --git a/plugins/feature/map/mapmodel.cpp b/plugins/feature/map/mapmodel.cpp index 7827460c0..d7d8146e9 100644 --- a/plugins/feature/map/mapmodel.cpp +++ b/plugins/feature/map/mapmodel.cpp @@ -586,7 +586,7 @@ ObjectMapItem *ObjectMapModel::findMapItem(const QString& name) while (i.hasNext()) { MapItem *item = i.next(); - if (item->m_name == name) { + if (!item->m_name.compare(name, Qt::CaseInsensitive)) { return (ObjectMapItem *)item; } }