mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-20 23:07:43 +00:00
Case-insensitive sorting of colors in GuiPrefs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27995 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
92a95aab41
commit
7b659b4ecd
@ -757,7 +757,8 @@ namespace {
|
|||||||
struct ColorSorter
|
struct ColorSorter
|
||||||
{
|
{
|
||||||
bool operator()(ColorCode lhs, ColorCode rhs) const {
|
bool operator()(ColorCode lhs, ColorCode rhs) const {
|
||||||
return lcolor.getGUIName(lhs) < lcolor.getGUIName(rhs);
|
return
|
||||||
|
compare_no_case(lcolor.getGUIName(lhs), lcolor.getGUIName(rhs)) < 0;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user