mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 09:51:13 +02:00
Revert "COsdSetup: kill instance of osd_menu_colors"
This reverts commit9401f2e8d1
. With this commit were crashes are to be expected. If here is an issue, we should fix it with another solution. Origin commit data ------------------ Commit:9be66d824a
Author: Thilo Graf <dbt@novatux.de> Date: 2018-04-11 (Wed, 11 Apr 2018)
This commit is contained in:
@@ -575,11 +575,10 @@ int COsdSetup::showOsdSetup()
|
||||
osd_menu->addIntroItems(LOCALE_MAINSETTINGS_OSD);
|
||||
|
||||
//item menu colors
|
||||
if (osd_menu_colors)
|
||||
delete osd_menu_colors;
|
||||
if (osd_menu_colors == NULL){
|
||||
osd_menu_colors = new CMenuWidget(LOCALE_MAINMENU_SETTINGS, NEUTRINO_ICON_COLORS, width, MN_WIDGET_ID_OSDSETUP_MENUCOLORS);
|
||||
showOsdMenueColorSetup(osd_menu_colors);
|
||||
|
||||
}
|
||||
CMenuForwarder * mf = new CMenuForwarder(LOCALE_COLORMENU_MENUCOLORS, true, NULL, osd_menu_colors, NULL, CRCInput::RC_red);
|
||||
mf->setHint("", LOCALE_MENU_HINT_COLORS);
|
||||
osd_menu->addItem(mf);
|
||||
|
Reference in New Issue
Block a user