mirror of
https://github.com/Dummi26/musicdb.git
synced 2025-12-26 00:16:32 +01:00
fix idle keybind, remove debug print
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user