From d46b287d1cd3448b56ced298c2f0ac46e03472cf Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Fri, 5 Feb 2016 00:43:44 +0100 Subject: [PATCH] - moviebrowser: avoid useless RC_left/right keys in youtube mode --- src/gui/moviebrowser.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/gui/moviebrowser.cpp b/src/gui/moviebrowser.cpp index d33ed4305..aa3434d78 100644 --- a/src/gui/moviebrowser.cpp +++ b/src/gui/moviebrowser.cpp @@ -1800,11 +1800,13 @@ bool CMovieBrowser::onButtonPressMainFrame(neutrino_msg_t msg) } else if (msg == CRCInput::RC_left) { - onSetGUIWindowPrev(); + if (show_mode != MB_SHOW_YT) + onSetGUIWindowPrev(); } else if (msg == CRCInput::RC_right) { - onSetGUIWindowNext(); + if (show_mode != MB_SHOW_YT) + onSetGUIWindowNext(); } else if (msg == CRCInput::RC_green) {