From 47873d85d55a1619580808aec4498f9e519c5fbb Mon Sep 17 00:00:00 2001 From: me Date: Sun, 13 Oct 2024 15:43:55 +0000 Subject: [PATCH] fix oopsie --- src/ui/play_queue.vala | 2 ++ 1 file changed, 2 insertions(+) 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;