From 2e240b18dac2dc809c02882103bb82d8f4d4a932 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Fri, 27 Oct 2017 22:05:11 +0200 Subject: [PATCH] pictureviewer: allow RC_previoussong and RC_nextsong Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/1a93e27b47c3b11c6c2665301839c0bd6f2f30ad Author: vanhofen Date: 2017-10-27 (Fri, 27 Oct 2017) Origin message was: ------------------ - pictureviewer: allow RC_previoussong and RC_nextsong --- src/gui/pictureviewer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/pictureviewer.cpp b/src/gui/pictureviewer.cpp index b1cf1db3a..5fc25263f 100644 --- a/src/gui/pictureviewer.cpp +++ b/src/gui/pictureviewer.cpp @@ -309,7 +309,7 @@ int CPictureViewerGui::show() view(next); } } - else if (msg == CRCInput::RC_left) + else if (msg == CRCInput::RC_left || msg == CRCInput::RC_previoussong) { if (!playlist.empty()) { @@ -328,7 +328,7 @@ int CPictureViewerGui::show() } } } - else if (msg == CRCInput::RC_right) + else if (msg == CRCInput::RC_right || msg == CRCInput::RC_nextsong) { if (!playlist.empty()) {