fix oopsie
This commit is contained in:
parent
ebcf0dca68
commit
47873d85d5
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue