Print message only after song is not found in a current playlist
This commit is contained in:
@@ -522,10 +522,10 @@ void PlaylistEditor::locateSong(const MPD::Song &s)
|
|||||||
return false;
|
return false;
|
||||||
};
|
};
|
||||||
|
|
||||||
Statusbar::print("Jumping to song...");
|
|
||||||
|
|
||||||
if (locate_song_in_current_playlist(Content.currentV() + 1, Content.endV()))
|
if (locate_song_in_current_playlist(Content.currentV() + 1, Content.endV()))
|
||||||
return;
|
return;
|
||||||
|
Statusbar::print("Jumping to song...");
|
||||||
if (locate_song_in_playlists(Playlists.currentV() + 1, Playlists.endV()))
|
if (locate_song_in_playlists(Playlists.currentV() + 1, Playlists.endV()))
|
||||||
return;
|
return;
|
||||||
if (locate_song_in_playlists(Playlists.beginV(), Playlists.currentV()))
|
if (locate_song_in_playlists(Playlists.beginV(), Playlists.currentV()))
|
||||||
|
|||||||
Reference in New Issue
Block a user