mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
- block FAV button in VirtualZAP mode to prevent unwanted/buggy behavior
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1768 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -97,7 +97,6 @@ class CInfoViewer
|
|||||||
|
|
||||||
uint32_t sec_timer_id;
|
uint32_t sec_timer_id;
|
||||||
uint32_t fadeTimer;
|
uint32_t fadeTimer;
|
||||||
bool virtual_zap_mode;
|
|
||||||
|
|
||||||
int time_left_width;
|
int time_left_width;
|
||||||
int time_dot_width;
|
int time_dot_width;
|
||||||
@@ -161,6 +160,7 @@ class CInfoViewer
|
|||||||
public:
|
public:
|
||||||
bool chanready;
|
bool chanready;
|
||||||
bool is_visible;
|
bool is_visible;
|
||||||
|
bool virtual_zap_mode;
|
||||||
uint32_t lcdUpdateTimer;
|
uint32_t lcdUpdateTimer;
|
||||||
|
|
||||||
CInfoViewer();
|
CInfoViewer();
|
||||||
|
@@ -2529,7 +2529,7 @@ int CNeutrinoApp::handleMsg(const neutrino_msg_t _msg, neutrino_msg_data_t data)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* ================================== KEYS ================================================ */
|
/* ================================== KEYS ================================================ */
|
||||||
if( msg == CRCInput::RC_ok || msg == CRCInput::RC_sat || msg == CRCInput::RC_favorites) {
|
if( msg == CRCInput::RC_ok || (!g_InfoViewer->virtual_zap_mode && (msg == CRCInput::RC_sat || msg == CRCInput::RC_favorites))) {
|
||||||
if( (mode == mode_tv) || (mode == mode_radio) || (mode == mode_ts)) {
|
if( (mode == mode_tv) || (mode == mode_radio) || (mode == mode_ts)) {
|
||||||
if(g_settings.mode_clock)
|
if(g_settings.mode_clock)
|
||||||
InfoClock->StopClock();
|
InfoClock->StopClock();
|
||||||
|
Reference in New Issue
Block a user