From 2d0f53f15fafe2d0ac5caadfdd5ba7bb1912769c Mon Sep 17 00:00:00 2001 From: vanhofen Date: Fri, 5 Feb 2016 00:43:44 +0100 Subject: [PATCH] moviebrowser: avoid useless RC_left/right keys in youtube mode Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/d46b287d1cd3448b56ced298c2f0ac46e03472cf Author: vanhofen Date: 2016-02-05 (Fri, 05 Feb 2016) Origin message was: ------------------ - 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) {