pictureviewer: allow RC_previoussong and RC_nextsong

Origin commit data
------------------
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
This commit is contained in:
vanhofen
2017-10-27 22:05:11 +02:00
parent debe510f38
commit 2e240b18da

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())
{ {