diff --git a/plugins/window-state/src/lib.rs b/plugins/window-state/src/lib.rs index 3a1f3fda..3ca7a874 100644 --- a/plugins/window-state/src/lib.rs +++ b/plugins/window-state/src/lib.rs @@ -134,7 +134,7 @@ impl WindowExt for Window { let mut should_show = true; - if let Some(state) = c.get(key) { + if let Some(state) = c.get(&key) { // avoid restoring the default zeroed state if *state == WindowState::default() { return Ok(());