From 5bbb994250fd56e0b90a1b1cc31e9128eecdfb40 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Thu, 22 Dec 2016 23:49:01 +0100 Subject: [PATCH] CMenuWidget: add menu name reinit Ensures correct display of menu name while runtime. For example: it's required on changed language settings, otherwise we have old language in menu head. Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/114bba2ab7895644f5faadc8f3f034246060671b Author: Thilo Graf Date: 2016-12-22 (Thu, 22 Dec 2016) ------------------ This commit was generated by Migit --- src/gui/widget/menue.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/widget/menue.cpp b/src/gui/widget/menue.cpp index 38aef6c58..4a990afb1 100644 --- a/src/gui/widget/menue.cpp +++ b/src/gui/widget/menue.cpp @@ -1248,6 +1248,7 @@ void CMenuWidget::paint() header->enableShadow(CC_SHADOW_RIGHT | CC_SHADOW_CORNER_TOP_RIGHT | CC_SHADOW_CORNER_BOTTOM_RIGHT); header->setOffset(10); } + header->setCaption(getName()); header->setColorAll(COL_FRAME_PLUS_0, COL_MENUHEAD_PLUS_0, COL_SHADOW_PLUS_0); header->setCaptionColor(COL_MENUHEAD_TEXT); header->enableColBodyGradient(g_settings.theme.menu_Head_gradient, COL_MENUCONTENT_PLUS_0);