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:
parent
4934f2c409
commit
f3687c5f9e
2 changed files with 4 additions and 4 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue