mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 17:31:20 +02:00
COsdSetup: ensure apply of selected osd resolution
Menu was faulty rendered.
This commit is contained in:
@@ -707,6 +707,7 @@ int COsdSetup::showOsdSetup()
|
|||||||
(g_settings.video_Mode != VIDEO_STD_AUTO));
|
(g_settings.video_Mode != VIDEO_STD_AUTO));
|
||||||
CMenuOptionChooser * osd_res = new CMenuOptionChooser(LOCALE_COLORMENU_OSD_RESOLUTION, &g_settings.osd_resolution, kext, resCount, enable, this);
|
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(frameBuffer->getInstance(), &CFrameBuffer::clearIconCache));
|
||||||
|
osd_res->OnAfterChangeOption.connect(sigc::mem_fun(osd_menu, &CMenuWidget::ResetModules));
|
||||||
osd_res->setHint("", LOCALE_MENU_HINT_OSD_RESOLUTION);
|
osd_res->setHint("", LOCALE_MENU_HINT_OSD_RESOLUTION);
|
||||||
osd_menu->addItem(osd_res);
|
osd_menu->addItem(osd_res);
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user