Use correct color for selected paragraph labels

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35298 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2010-09-06 14:35:02 +00:00
parent 58c9d2ed61
commit eac118ae98

View File

@ -75,7 +75,11 @@ RowPainter::RowPainter(PainterInfo & pi,
FontInfo RowPainter::labelFont() const
{
return text_.labelFont(par_);
FontInfo f = text_.labelFont(par_);
// selected text?
if (row_.begin_margin_sel || pi_.selected)
f.setPaintColor(Color_selectiontext);
return f;
}