fix idle keybind, remove debug print

This commit is contained in:
Mark
2024-02-08 10:30:01 +01:00
parent b22d9ffeb3
commit b70d922fad
2 changed files with 1 additions and 2 deletions

View File

@@ -1212,7 +1212,6 @@ impl Gui {
self.keybinds.remove(&b);
}
if let Some(bind) = bind {
eprintln!("Setting keybind: {:b} {:?}", bind.modifiers, bind.key);
self.keybinds.insert(bind, action);
}
}
@@ -1507,6 +1506,7 @@ impl WindowHandler<GuiEvent> for Gui {
for a in self.key_actions.get(action).execute() {
self.exec_gui_action(a);
}
return;
}
}
}