1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-08-17 14:51:04 +02:00

refactor: replace deprecated indexmap method

This commit is contained in:
Jake Stanger 2024-02-02 20:05:29 +00:00
parent 4934f2c409
commit f3687c5f9e
No known key found for this signature in database
GPG key ID: C51FC8F9CB0BEA61
2 changed files with 4 additions and 4 deletions

View file

@ -52,7 +52,7 @@ impl Item {
}
pub fn unmerge_toplevel(&mut self, info: &ToplevelInfo) {
self.windows.remove(&info.id);
self.windows.shift_remove(&info.id);
self.recalculate_open_state();
}