Print message only after song is not found in a current playlist

master
Andrzej Rybczak 9 years ago
parent 468d13aac5
commit c3b996c0e8
  1. 2
      src/screens/playlist_editor.cpp

@ -522,10 +522,10 @@ void PlaylistEditor::locateSong(const MPD::Song &s)
return false;
};
Statusbar::print("Jumping to song...");
if (locate_song_in_current_playlist(Content.currentV() + 1, Content.endV()))
return;
Statusbar::print("Jumping to song...");
if (locate_song_in_playlists(Playlists.currentV() + 1, Playlists.endV()))
return;
if (locate_song_in_playlists(Playlists.beginV(), Playlists.currentV()))

Loading…
Cancel
Save