queue: update moved song versions
This patch fixes a regression introduced by commit aa9ffc.
This commit is contained in:
parent
cf3a9ef065
commit
032640f9e5
@ -131,6 +131,7 @@ queue_move_song_to(struct queue *queue, unsigned from, unsigned to)
|
||||
unsigned from_id = queue->items[from].id;
|
||||
|
||||
queue->items[to] = queue->items[from];
|
||||
queue->items[to].version = queue->version;
|
||||
queue->idToPosition[from_id] = to;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user