sort charsets in the menu
This commit is contained in:
parent
2d393cb509
commit
3f310d81af
Binary file not shown.
|
@ -54,6 +54,9 @@ QList<PCharsetInfo> CharsetInfoManager::findCharsetsByLanguageName(const QString
|
||||||
&& info->enabled)
|
&& info->enabled)
|
||||||
result.append(info);
|
result.append(info);
|
||||||
}
|
}
|
||||||
|
std::sort(result.begin(),result.end(),[](const PCharsetInfo& info1,const PCharsetInfo& info2){
|
||||||
|
return (info1->name < info2->name);
|
||||||
|
});
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue