Fix esc in command palette
Also: add editor.register_action
This commit is contained in:
parent
4f885252ab
commit
107c3d7f67
8 changed files with 140 additions and 56 deletions
|
@ -114,6 +114,7 @@ impl<D: PickerDelegate> Picker<D> {
|
|||
}
|
||||
|
||||
fn cancel(&mut self, _: &menu::Cancel, cx: &mut ViewContext<Self>) {
|
||||
dbg!("canceling!");
|
||||
self.delegate.dismissed(cx);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue