Skip to content

Commit ede008a

Browse files
committed
fix: do not considering NoAction bindings to be pending
1 parent 011aa71 commit ede008a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/gpui/src/keymap.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ impl Keymap {
153153
for depth in (0..=context_stack.len()).rev() {
154154
if self.binding_enabled(binding, &context_stack[0..depth]) {
155155
if is_pending.is_none() {
156-
is_pending = Some(pending);
156+
is_pending = Some(pending && !is_no_action(&*binding.action))
157157
}
158158
if !pending {
159159
bindings.push((binding.clone(), depth));

0 commit comments

Comments
 (0)