Author: spitz
Date: Fri Mar 18 16:12:03 2011
New Revision: 37952
URL: http://www.lyx.org/trac/changeset/37952
Log:
* GuiPrefs.cpp: no need to exclude greyedouttext and shaded colors from prefs.
Modified:
lyx-devel/trunk/src/frontends/qt4/GuiPrefs.cpp
Modified: lyx-devel/trunk/src/frontends/qt4/GuiPrefs.cpp
==============================================================================
--- lyx-devel/trunk/src/frontends/qt4/GuiPrefs.cpp Fri Mar 18 15:53:20
2011 (r37951)
+++ lyx-devel/trunk/src/frontends/qt4/GuiPrefs.cpp Fri Mar 18 16:12:03
2011 (r37952)
@@ -1076,19 +1076,17 @@
for (int i = 0; i < Color_ignore; ++i) {
ColorCode lc = static_cast<ColorCode>(i);
if (lc == Color_none
- || lc == Color_black
- || lc == Color_white
- || lc == Color_red
- || lc == Color_green
- || lc == Color_blue
- || lc == Color_cyan
- || lc == Color_magenta
- || lc == Color_yellow
- || lc == Color_inherit
- || lc == Color_ignore
- || lc == Color_greyedouttext
- || lc == Color_shadedbg) continue;
-
+ || lc == Color_black
+ || lc == Color_white
+ || lc == Color_red
+ || lc == Color_green
+ || lc == Color_blue
+ || lc == Color_cyan
+ || lc == Color_magenta
+ || lc == Color_yellow
+ || lc == Color_inherit
+ || lc == Color_ignore)
+ continue;
lcolors_.push_back(lc);
}
sort(lcolors_.begin(), lcolors_.end(), ColorSorter());