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 <Anna@OcarinaProject.net>
This commit is contained in:
Anna Schumaker 2015-01-16 08:21:08 -05:00
parent ea49b374ee
commit 6a5eaa32f8
1 changed files with 1 additions and 1 deletions

View File

@ -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");