mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-11 21:13:02 +00:00
Remove spurious focus of contact popover when opening it
Co-authored-by: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
d42bf8eebe
commit
513c02e67f
1 changed files with 0 additions and 1 deletions
|
@ -152,7 +152,6 @@ impl CollabTitlebarItem {
|
||||||
let project = workspace.read(cx).project().clone();
|
let project = workspace.read(cx).project().clone();
|
||||||
let user_store = workspace.read(cx).user_store().clone();
|
let user_store = workspace.read(cx).user_store().clone();
|
||||||
let view = cx.add_view(|cx| ContactsPopover::new(project, user_store, cx));
|
let view = cx.add_view(|cx| ContactsPopover::new(project, user_store, cx));
|
||||||
cx.focus(&view);
|
|
||||||
cx.subscribe(&view, |this, _, event, cx| {
|
cx.subscribe(&view, |this, _, event, cx| {
|
||||||
match event {
|
match event {
|
||||||
contacts_popover::Event::Dismissed => {
|
contacts_popover::Event::Dismissed => {
|
||||||
|
|
Loading…
Reference in a new issue