Use id instead of type_id for actions
Currently, both are the same thing, so the logic is not changed.
This commit is contained in:
parent
10a1df3faa
commit
eaa8224076
5 changed files with 30 additions and 37 deletions
|
@ -231,7 +231,7 @@ impl MacForegroundPlatform {
|
|||
} => {
|
||||
// TODO
|
||||
let keystrokes = keystroke_matcher
|
||||
.bindings_for_action_type(action.as_any().type_id())
|
||||
.bindings_for_action(action.id())
|
||||
.find(|binding| binding.action().eq(action.as_ref()))
|
||||
.map(|binding| binding.keystrokes());
|
||||
let selector = match os_action {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue