Fix project panel context menu
This commit is contained in:
parent
13bb16577c
commit
9162f299a7
2 changed files with 11 additions and 5 deletions
|
@ -1497,10 +1497,13 @@ impl<'a> WindowContext<'a> {
|
|||
}
|
||||
|
||||
pub fn bindings_for_action(&self, action: &dyn Action) -> Vec<KeyBinding> {
|
||||
self.window.current_frame.dispatch_tree.bindings_for_action(
|
||||
action,
|
||||
&self.window.current_frame.dispatch_tree.context_stack,
|
||||
)
|
||||
self.window
|
||||
.previous_frame
|
||||
.dispatch_tree
|
||||
.bindings_for_action(
|
||||
action,
|
||||
&self.window.previous_frame.dispatch_tree.context_stack,
|
||||
)
|
||||
}
|
||||
|
||||
pub fn bindings_for_action_in(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue