From 40cd758bcdab0ece3ed00c03cd7a32a1c137c448 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sat, 9 Nov 2019 11:05:06 +0100 Subject: [PATCH] menue.cpp: fix possible render errors after changed font settings Positions of some menu parts, e.g. headers... were not updated after changed font scale settings. --- 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 67de9eeab..e2f05ef68 100644 --- a/src/gui/widget/menue.cpp +++ b/src/gui/widget/menue.cpp @@ -707,6 +707,7 @@ void CMenuWidget::Init(const std::string &NameString, const std::string &Icon, c } COsdHelpers::getInstance()->OnAfterChangeResolution.connect(sigc::mem_fun(this, &CMenuWidget::ResetModules)); + CNeutrinoApp::getInstance()->OnBeforeSetupFonts.connect(sigc::mem_fun(this, &CMenuWidget::ResetModules)); } void CMenuWidget::move(int xoff, int yoff)