mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 09:15:50 +00:00
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:
parent
b10cf08974
commit
776e608bad
@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user