Restore focus when closing context menu

This commit is contained in:
Antonio Scandurra 2022-05-26 15:21:02 +02:00
parent a5044ccbba
commit 82ddac8e7e
5 changed files with 41 additions and 15 deletions

View file

@ -134,6 +134,7 @@ fn main() {
let mut languages = languages::build_language_registry(login_shell_env_loaded);
let user_store = cx.add_model(|cx| UserStore::new(client.clone(), http.clone(), cx));
context_menu::init(cx);
auto_update::init(http, client::ZED_SERVER_URL.clone(), cx);
project::Project::init(&client);
client::Channel::init(&client);