Revert "COsdSetup: kill instance of osd_menu_colors"

This reverts commit 9401f2e8d1.

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:
2018-04-11 23:58:16 +02:00
committed by vanhofen
parent 614badcf9e
commit 74d135f2ae

View File

@@ -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);