Advertisement
svenhoefer

Untitled

Mar 24th, 2018
534
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.74 KB | None | 0 0
  1. diff --git a/src/gui/movieplayer.cpp b/src/gui/movieplayer.cpp
  2. index 29559fe..eead5fb 100644
  3. --- a/src/gui/movieplayer.cpp
  4. +++ b/src/gui/movieplayer.cpp
  5. @@ -1962,6 +1962,8 @@ void CMoviePlayerGui::PlayFileLoop(void)
  6.         } else if (msg == (neutrino_msg_t) CRCInput::RC_setup) {
  7.             CNeutrinoApp::getInstance()->handleMsg(NeutrinoMessages::SHOW_MAINMENU, 0);
  8.             update_lcd = true;
  9. +       } else if (msg == (neutrino_msg_t) g_settings.key_zaphistory || msg == (neutrino_msg_t) g_settings.key_current_transponder) {
  10. +           CNeutrinoApp::getInstance()->showChannelList(msg);
  11.         } else if (msg == CRCInput::RC_red || msg == CRCInput::RC_green || msg == CRCInput::RC_yellow || msg == CRCInput::RC_blue ) {
  12.             //maybe move FileTimeOSD->kill to Usermenu to simplify this call
  13.             bool restore = FileTimeOSD->IsVisible();
  14. diff --git a/src/neutrino.cpp b/src/neutrino.cpp
  15. index 1343e49..8218724 100644
  16. --- a/src/neutrino.cpp
  17. +++ b/src/neutrino.cpp
  18. @@ -3424,8 +3424,7 @@ int CNeutrinoApp::handleMsg(const neutrino_msg_t _msg, neutrino_msg_data_t data)
  19.     }
  20.  
  21.     /* ================================== KEYS ================================================ */
  22. -   if( msg == CRCInput::RC_ok || msg == (neutrino_msg_t) g_settings.key_zaphistory || msg == (neutrino_msg_t) g_settings.key_current_transponder
  23. -           || (!g_InfoViewer->getSwitchMode() && CNeutrinoApp::getInstance()->listModeKey(msg))) {
  24. +   if( msg == CRCInput::RC_ok || (!g_InfoViewer->getSwitchMode() && CNeutrinoApp::getInstance()->listModeKey(msg))) {
  25.         if( (mode == NeutrinoModes::mode_tv) || (mode == NeutrinoModes::mode_radio) || (mode == NeutrinoModes::mode_ts) || (mode == NeutrinoModes::mode_webtv) || (mode == NeutrinoModes::mode_webradio)) {
  26.             showChannelList(msg);
  27.             return messages_return::handled;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement