Merge pull request #1164 from Scrumplex/fix-sort-languages
This commit is contained in:
commit
58a5331f7b
@ -86,6 +86,10 @@ struct Language
|
||||
else {
|
||||
result = locale.nativeLanguageName();
|
||||
}
|
||||
|
||||
if (result.isEmpty()) {
|
||||
result = key;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@ -394,7 +398,7 @@ void TranslationsModel::reloadLocalFiles()
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return a.key < b.key;
|
||||
return a.languageName().toLower() < b.languageName().toLower();
|
||||
});
|
||||
endInsertRows();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user