Fix project panel context menu

This commit is contained in:
Conrad Irwin 2023-12-05 00:31:14 +00:00
parent 13bb16577c
commit 9162f299a7
2 changed files with 11 additions and 5 deletions

View file

@ -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(