Close syntax tree view menu on click too
This commit is contained in:
parent
331af82cb1
commit
fc923a2a98
1 changed files with 1 additions and 0 deletions
|
@ -480,6 +480,7 @@ impl SyntaxTreeToolbarItemView {
|
||||||
buffer_state.active_layer = Some(layer.to_owned());
|
buffer_state.active_layer = Some(layer.to_owned());
|
||||||
view.selected_descendant_ix = None;
|
view.selected_descendant_ix = None;
|
||||||
cx.notify();
|
cx.notify();
|
||||||
|
view.focus_handle.focus(cx);
|
||||||
Some(())
|
Some(())
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue