mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
timerlist: fix saved_dispmode
Origin commit data
------------------
Branch: ni/coolstream
Commit: 457729012a
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-13 (Mon, 13 Nov 2017)
Origin message was:
------------------
- timerlist: fix saved_dispmode
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -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()
|
||||
@@ -1429,7 +1429,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();
|
||||
|
Reference in New Issue
Block a user