From c3b996c0e83ff7729231dbbad57d3507639c8af7 Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Sun, 12 Mar 2017 19:58:58 +0100 Subject: [PATCH] Print message only after song is not found in a current playlist --- src/screens/playlist_editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/screens/playlist_editor.cpp b/src/screens/playlist_editor.cpp index 04f1995d..503b54bb 100644 --- a/src/screens/playlist_editor.cpp +++ b/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()))