From 6a5eaa32f8b739658935a9ada5b5f207c485458e Mon Sep 17 00:00:00 2001 From: Anna Schumaker Date: Fri, 16 Jan 2015 08:21:08 -0500 Subject: [PATCH] gui: Preserve "is playing" status when banning tracks Just calling audio :: next() will advance to the next song, but won't change if we're playing music or not. I think this is what we want to do when banning tracks. Signed-off-by: Anna Schumaker --- gui/playlist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/playlist.cpp b/gui/playlist.cpp index d861ea38..827b566a 100644 --- a/gui/playlist.cpp +++ b/gui/playlist.cpp @@ -78,7 +78,7 @@ static void on_ban() if (o_ban->get_active()) { if (!playlist :: has(track, "Banned")) { playlist :: add(track, "Banned"); - on_next(); + audio :: next(); } } else playlist :: del(track, "Banned");