Restore focus when closing context menu
This commit is contained in:
@@ -22,6 +22,7 @@ chat_panel = { path = "../chat_panel" }
|
||||
cli = { path = "../cli" }
|
||||
collections = { path = "../collections" }
|
||||
command_palette = { path = "../command_palette" }
|
||||
context_menu = { path = "../context_menu" }
|
||||
client = { path = "../client" }
|
||||
clock = { path = "../clock" }
|
||||
contacts_panel = { path = "../contacts_panel" }
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user