fix oopsie
This commit is contained in:
parent
b7385548c6
commit
dd0536e5dd
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