From c056b56d1242b376924c8875f161406c8ff1a2ca Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Fri, 11 Nov 2016 00:25:25 +0100 Subject: [PATCH] - eventlist: allow gradient/radius changes w/o neutrino restart --- src/gui/eventlist.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gui/eventlist.cpp b/src/gui/eventlist.cpp index 35414a19d..0902ff472 100644 --- a/src/gui/eventlist.cpp +++ b/src/gui/eventlist.cpp @@ -848,11 +848,11 @@ void CEventList::paintHead(t_channel_id _channel_id, std::string _channelname, s int font_mid = SNeutrinoSettings::FONT_TYPE_EVENTLIST_TITLE; int font_lr = SNeutrinoSettings::FONT_TYPE_EVENTLIST_ITEMLARGE; - if (!header){ + if (!header) header = new CComponentsFrmChain(x, y, full_width, theight); - header->enableColBodyGradient(g_settings.theme.menu_Head_gradient, COL_MENUCONTENT_PLUS_0, g_settings.theme.menu_Head_gradient_direction); - header->setCorner(RADIUS_LARGE, CORNER_TOP); - } + + header->enableColBodyGradient(g_settings.theme.menu_Head_gradient, COL_MENUCONTENT_PLUS_0, g_settings.theme.menu_Head_gradient_direction); + header->setCorner(RADIUS_LARGE, CORNER_TOP); header->clear(); int x_off = OFFSET_INNER_MID;