diff --git a/src/gui/widget/menue.cpp b/src/gui/widget/menue.cpp index c80a8ebb4..25b9cc6eb 100644 --- a/src/gui/widget/menue.cpp +++ b/src/gui/widget/menue.cpp @@ -1228,7 +1228,6 @@ void CMenuWidget::initSelectable() void CMenuWidget::paint() { - OnBeforePaint(); if (header){ if ((bool)header->getCornerRadius() != (bool)g_settings.rounded_corners) //ensure reset if corner mode was changed ResetModules(); @@ -1239,6 +1238,8 @@ void CMenuWidget::paint() calcSize(); CVFD::getInstance()->setMode(CVFD::MODE_MENU_UTF8 /*, nameString.c_str()*/); + OnBeforePaint(); + // paint head if (header == NULL){ header = new CComponentsHeader(x, y, width + sb_width, hheight, getName(), iconfile);