fix: sort languages by their name instead of key

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2022-09-24 11:48:14 +02:00
parent 60b38de69f
commit b187231b0e
No known key found for this signature in database
GPG Key ID: C10411294912A422

View File

@ -398,7 +398,7 @@ void TranslationsModel::reloadLocalFiles()
return false;
}
}
return a.key < b.key;
return a.languageName().toLower() < b.languageName().toLower();
});
endInsertRows();
}