branch: Fix bug 4673: Case-insensitive sorting of colors in GuiPrefs?.

see:
http://www.lyx.org/trac/changeset/27995




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29029 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2009-04-02 20:19:46 +00:00
parent b10cf08974
commit 776e608bad
2 changed files with 5 additions and 1 deletions

View File

@ -802,7 +802,8 @@ namespace {
struct ColorSorter
{
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;
}
};

View File

@ -189,6 +189,9 @@ What's new
control user interface.
- Remove black box around the document which is visible with Qt4.5.
- Do not sort the colors in the preferences dialog case-sensitively
(bug 4673).
* DOCUMENTATION AND LOCALIZATION