diff --git a/gui/wires.cpp b/gui/wires.cpp index 7e7d9484..edbf08ec 100644 --- a/gui/wires.cpp +++ b/gui/wires.cpp @@ -48,6 +48,12 @@ static void on_pause() audio_playing = false; } +static void on_next() +{ + audio :: next(); + audio :: play(); +} + static void on_track_loaded(library :: Song &song) { Gtk::Label *title, *artist, *album, *duration; @@ -305,7 +311,7 @@ Gtk::Window *connect_wires() connect_button("o_pause", audio::pause); connect_button("o_stop", audio::stop); connect_button("o_prev", audio::previous); - connect_button("o_next", audio::next); + connect_button("o_next", on_next); /* Collection manager */