From 79e054cc4791b1ff3de34bbdbaa3f9eb58f881d6 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Wed, 3 Apr 2019 23:24:44 +0200 Subject: [PATCH] COsdSetup: ensure apply of selected osd resolution Menu was faulty rendered. Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/6a6655ee623f89ae6dea7f10b369bee297948b37 Author: Thilo Graf Date: 2019-04-03 (Wed, 03 Apr 2019) ------------------ This commit was generated by Migit --- src/gui/osd_setup.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/osd_setup.cpp b/src/gui/osd_setup.cpp index a892afce9..84fee7b77 100644 --- a/src/gui/osd_setup.cpp +++ b/src/gui/osd_setup.cpp @@ -709,6 +709,7 @@ int COsdSetup::showOsdSetup() (g_settings.video_Mode != VIDEO_STD_AUTO)); CMenuOptionChooser * osd_res = new CMenuOptionChooser(LOCALE_COLORMENU_OSD_RESOLUTION, &g_settings.osd_resolution, kext, resCount, enable, this); osd_res->OnAfterChangeOption.connect(sigc::mem_fun(frameBuffer->getInstance(), &CFrameBuffer::clearIconCache)); + osd_res->OnAfterChangeOption.connect(sigc::mem_fun(osd_menu, &CMenuWidget::ResetModules)); osd_res->setHint("", LOCALE_MENU_HINT_OSD_RESOLUTION); osd_menu->addItem(osd_res); #endif