mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-03 09:09:40 +00:00
Make file name comparison case-insensitive
This commit is contained in:
parent
ebe5448816
commit
e14ada8f36
1 changed files with 1 additions and 1 deletions
|
@ -410,7 +410,7 @@ void ContentSelectorModel::ContentModel::addFile(EsmFile *file)
|
|||
{
|
||||
for (int row = 0; row < mFiles.size(); row++)
|
||||
{
|
||||
if (mFiles.at(row)->fileName() == file->fileName())
|
||||
if (!mFiles.at(row)->fileName().compare(file->fileName(), Qt::CaseInsensitive))
|
||||
{
|
||||
beginRemoveRows(QModelIndex(), row, row);
|
||||
mFiles.removeAt(row);
|
||||
|
|
Loading…
Reference in a new issue