mirror of
https://github.com/Dummi26/musicdb.git
synced 2025-03-09 21:13:54 +01:00
fix bug when removing multiple
This commit is contained in:
parent
b1c0925647
commit
b752ea5112
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user