CNeutrinoApp: add missing hide()

Hintbox was not removed from scrren after paint.
This commit is contained in:
2016-10-26 09:18:29 +02:00
parent 3a6f9e5ffa
commit ca97793ef0

View File

@@ -2681,8 +2681,8 @@ _repeat:
}
if (channels_changed || favorites_changed || bouquets_changed || channels_init) {
neutrino_locale_t loc = channels_init ? LOCALE_SERVICEMENU_RELOAD_HINT : LOCALE_BOUQUETEDITOR_SAVINGCHANGES;
CHintBox* hintBox= new CHintBox(LOCALE_MESSAGEBOX_INFO, g_Locale->getText(loc));
hintBox->paint();
CHintBox hintBox(LOCALE_MESSAGEBOX_INFO, g_Locale->getText(loc));
hintBox.paint();
if (favorites_changed) {
g_bouquetManager->saveUBouquets();
@@ -2710,7 +2710,7 @@ _repeat:
if(!live_channel_id)
live_channel_id = CZapit::getInstance()->GetCurrentChannelID();
adjustToChannelID(live_channel_id);//FIXME what if deleted ?
delete hintBox;
hintBox.hide();
}
if (g_settings.easymenu) {
CBouquetList * blist = (mode == mode_radio) ? RADIOfavList : TVfavList;