mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
GuiBox: remove none from the static color list
It is not used anyway and it prevents sorting.
This commit is contained in:
parent
47bee41ea3
commit
bca8f5a940
@ -80,7 +80,6 @@ static QStringList boxGuiSpecialLengthNames()
|
||||
static QList<ColorCode> colors()
|
||||
{
|
||||
QList<ColorCode> colors;
|
||||
colors << Color_none;
|
||||
colors << Color_black;
|
||||
colors << Color_white;
|
||||
colors << Color_blue;
|
||||
@ -173,7 +172,7 @@ void GuiBox::fillComboColor(QComboBox * combo, bool const is_none)
|
||||
if (is_none)
|
||||
combo->addItem(toqstr(translateIfPossible(lcolor.getGUIName(Color_none))),
|
||||
toqstr(lcolor.getLaTeXName(Color_none)));
|
||||
QList<ColorCode>::const_iterator cit = color_codes_.begin() + 1;
|
||||
QList<ColorCode>::const_iterator cit = color_codes_.begin();
|
||||
for (; cit != color_codes_.end(); ++cit) {
|
||||
QString const latexname = toqstr(lcolor.getLaTeXName(*cit));
|
||||
QString const guiname = toqstr(translateIfPossible(lcolor.getGUIName(*cit)));
|
||||
|
Loading…
Reference in New Issue
Block a user