Skip to content

Commit

Permalink
MythMusic: extend the immediate play when PLAY is pressed to individu…
Browse files Browse the repository at this point in the history
…al tracks

Refs #10710.
  • Loading branch information
paul-h committed Apr 8, 2013
1 parent 5801167 commit 3860342
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mythplugins/mythmusic/mythmusic/playlisteditorview.cpp
Expand Up @@ -465,7 +465,8 @@ bool PlaylistEditorView::keyPressEvent(QKeyEvent *event)
{
if (mnode->getAction() == "trackid")
{
handled = false;
m_songList.clear();
m_songList.append(node->getInt());
}
else if ((mnode->getAction() == "playlists") || (mnode->getAction() == "smartplaylists") || (mnode->getAction() == "smartplaylistcategory"))
{
Expand Down Expand Up @@ -523,6 +524,7 @@ bool PlaylistEditorView::keyPressEvent(QKeyEvent *event)
m_songList.append((int)mdata->ID());
}
}

if (handled)
{
m_playlistOptions.playPLOption = PL_FIRST;
Expand Down

0 comments on commit 3860342

Please sign in to comment.