mirror of
https://github.com/Dummi26/musicdb.git
synced 2025-12-14 20:06:16 +01:00
fix bug when removing multiple
This commit is contained in:
@@ -24,6 +24,7 @@ fn main() {
|
||||
}
|
||||
let mut actions = vec![];
|
||||
rev_actions(&mut actions, &db.queue, &mut vec![], &mut HashSet::new());
|
||||
actions.reverse();
|
||||
eprintln!("Removing {} queue elements", actions.len());
|
||||
db.seq
|
||||
.pack(Action::Multiple(actions))
|
||||
|
||||
Reference in New Issue
Block a user