Kaydet (Commit) 7387cdbc authored tarafından Jan Holesovsky's avatar Jan Holesovsky

tdf#90452: The correct color for the message when there's no recent file yet.

Change-Id: I5a990643903946ea339136fbc514ca8cb90fa34e
üst aef5e0a9
......@@ -267,8 +267,9 @@ void RecentDocsView::Paint(vcl::RenderContext& rRenderContext, const Rectangle &
if (mItemList.empty())
{
// No recent files to be shown yet. Show a welcome screen.
rRenderContext.Push(PushFlags::FONT);
rRenderContext.Push(PushFlags::FONT | PushFlags::TEXTCOLOR);
SetMessageFont(rRenderContext);
SetTextColor(maTextColor);
long nTextHeight = rRenderContext.GetTextHeight();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment