menue: Show context help button in header if no hint is visible.

Origin commit data
------------------
Commit: 5485a155cd
Author: Thilo Graf <dbt@novatux.de>
Date: 2022-01-07 (Fri, 07 Jan 2022)
This commit is contained in:
2022-01-07 22:15:37 +01:00
committed by vanhofen
parent c7c4c692f2
commit fbf63fa48a

View File

@@ -1446,6 +1446,9 @@ void CMenuWidget::initHeader()
header->setCaptionColor(COL_MENUHEAD_TEXT);
header->enableColBodyGradient(g_settings.theme.menu_Head_gradient, COL_MENUCONTENT_PLUS_0, g_settings.theme.menu_Head_gradient_direction);
header->enableGradientBgCleanUp(savescreen);
header->removeContextButtons();
if (!g_settings.show_menu_hints)
header->addContextButton(CComponentsHeader::CC_BTN_HELP);
if (!subhead_text.empty())
initSubHeader();