- moviebrowser: avoid useless RC_left/right keys in youtube mode

This commit is contained in:
svenhoefer
2016-02-05 00:43:44 +01:00
parent 944dab5a8c
commit d46b287d1c

View File

@@ -1800,11 +1800,13 @@ bool CMovieBrowser::onButtonPressMainFrame(neutrino_msg_t msg)
} }
else if (msg == CRCInput::RC_left) else if (msg == CRCInput::RC_left)
{ {
onSetGUIWindowPrev(); if (show_mode != MB_SHOW_YT)
onSetGUIWindowPrev();
} }
else if (msg == CRCInput::RC_right) else if (msg == CRCInput::RC_right)
{ {
onSetGUIWindowNext(); if (show_mode != MB_SHOW_YT)
onSetGUIWindowNext();
} }
else if (msg == CRCInput::RC_green) else if (msg == CRCInput::RC_green)
{ {