diff --git a/src/ui/play_queue.vala b/src/ui/play_queue.vala index 3230f17..38524df 100644 --- a/src/ui/play_queue.vala +++ b/src/ui/play_queue.vala @@ -9,6 +9,8 @@ class Ui.PlayQueueStore : Object, ListModel, Gtk.SelectionModel { construct { this.inner.items_changed.connect ((position, removed, added) => { + bool emit_signal = false; + if (this.playing_index >= position) { if (this.playing_index < position+removed) { this.playing_index = position;