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

This commit is contained in:
2022-01-06 16:35:04 +01:00
parent 801b8600ed
commit de9cca01b9

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();