pictureviewer: allow RC_previoussong and RC_nextsong

Origin commit data
------------------
Branch: ni/coolstream
Commit: 1a93e27b47
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-10-27 (Fri, 27 Oct 2017)

Origin message was:
------------------
- pictureviewer: allow RC_previoussong and RC_nextsong

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-10-27 22:05:11 +02:00
parent a374313b6d
commit 6bbb88079a

View File

@@ -309,7 +309,7 @@ int CPictureViewerGui::show()
view(next); view(next);
} }
} }
else if (msg == CRCInput::RC_left) else if (msg == CRCInput::RC_left || msg == CRCInput::RC_previoussong)
{ {
if (!playlist.empty()) 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()) if (!playlist.empty())
{ {