timerlist: fix saved_dispmode

Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Commit: 06aebf664a
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-13 (Mon, 13 Nov 2017)

Origin message was:
------------------
- timerlist: fix saved_dispmode

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
vanhofen
2017-11-13 10:10:44 +01:00
committed by Thilo Graf
parent d5eaa7dc47
commit 293452ee5f

View File

@@ -288,7 +288,7 @@ CTimerList::CTimerList()
changed = false;
/* most probable default */
saved_dispmode = (int)CVFD::MODE_TVRADIO;
saved_dispmode = (int)CVFD::getInstance()->getMode();
}
CTimerList::~CTimerList()
@@ -1422,7 +1422,6 @@ void CTimerList::paint()
unsigned int page_nr = (listmaxshow == 0) ? 0 : (selected / listmaxshow);
liststart = page_nr * listmaxshow;
saved_dispmode = (int)CVFD::getInstance()->getMode();
CVFD::getInstance()->setMode(CVFD::MODE_MENU_UTF8, g_Locale->getText(LOCALE_TIMERLIST_NAME));
paintHead();