mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
- neutrino: some more mode_radio/mode_webradio fixes #2
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -4264,7 +4264,7 @@ void CNeutrinoApp::standbyMode( bool bOnOff, bool fromDeepStandby )
|
|||||||
check PIN and not zap, so we should be fine here
|
check PIN and not zap, so we should be fine here
|
||||||
*/
|
*/
|
||||||
mode = mode_unknown;
|
mode = mode_unknown;
|
||||||
if( lastMode == mode_radio ) {
|
if (lastMode == mode_radio || lastMode == mode_webradio) {
|
||||||
radioMode( false );
|
radioMode( false );
|
||||||
} else {
|
} else {
|
||||||
/* for standby -> tv mode from radio mode in case of record */
|
/* for standby -> tv mode from radio mode in case of record */
|
||||||
@@ -4322,7 +4322,12 @@ void CNeutrinoApp::radioMode( bool rezap)
|
|||||||
#endif
|
#endif
|
||||||
CRecordManager::getInstance()->StopAutoRecord();
|
CRecordManager::getInstance()->StopAutoRecord();
|
||||||
|
|
||||||
if (mode != mode_webtv) {
|
if (mode != mode_webtv && mode != mode_webradio) {
|
||||||
|
/*
|
||||||
|
FIXME:
|
||||||
|
frameBuffer->paintBackground() is clearing display.
|
||||||
|
What if any gui-element (e.g. infoviewer) is active?
|
||||||
|
*/
|
||||||
frameBuffer->useBackground(false);
|
frameBuffer->useBackground(false);
|
||||||
frameBuffer->paintBackground();
|
frameBuffer->paintBackground();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user