mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +00:00
* GuiPrefs.cpp: no need to exclude greyedouttext and shaded colors from prefs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37952 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a3d7011a50
commit
d999c98bad
@ -1076,19 +1076,17 @@ PrefColors::PrefColors(GuiPreferences * form)
|
||||
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());
|
||||
|
Loading…
Reference in New Issue
Block a user