]> git.lyx.org Git - features.git/commitdiff
GuiCharacter.cpp: sort all colors, also white
authorUwe Stöhr <uwestoehr@lyx.org>
Sat, 16 May 2015 01:32:45 +0000 (03:32 +0200)
committerUwe Stöhr <uwestoehr@lyx.org>
Sat, 16 May 2015 01:32:45 +0000 (03:32 +0200)
as proposed by Scott

src/frontends/qt4/GuiCharacter.cpp

index a9471432351a41ca4be9c8b77226cd3c6f69f494..48453c3b371f3aecb1a44078e4e9bb0a67e1fdc5 100644 (file)
@@ -94,7 +94,6 @@ static QList<ColorPair> colorData()
        colors << ColorPair(qt_("No change"), Color_ignore);
        colors << ColorPair(qt_("No color"), Color_none);
        colors << ColorPair(qt_("Black"), Color_black);
-       colors << ColorPair(qt_("White"), Color_white);
        colors << ColorPair(qt_("Blue"), Color_blue);
        colors << ColorPair(qt_("Brown"), Color_brown);
        colors << ColorPair(qt_("Cyan"), Color_cyan);
@@ -111,6 +110,7 @@ static QList<ColorPair> colorData()
        colors << ColorPair(qt_("Red"), Color_red);
        colors << ColorPair(qt_("Teal"), Color_teal);
        colors << ColorPair(qt_("Violet"), Color_violet);
+       colors << ColorPair(qt_("White"), Color_white);
        colors << ColorPair(qt_("Yellow"), Color_yellow);
        colors << ColorPair(qt_("Reset"), Color_inherit);
        return colors;