Fix Collab context menu dismissal (#11414)

Closes: #11413

Release Notes:

- Fixed Collab panel context menu dismissal with `Escape` key
([#11413](https://github.com/zed-industries/zed/issues/11413)).
This commit is contained in:
moshyfawn 2024-05-06 16:51:02 -04:00 committed by GitHub
parent 530bc5c99e
commit 2e6d044bac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1408,6 +1408,11 @@ impl CollabPanel {
});
}
if self.context_menu.is_some() {
self.context_menu.take();
cx.notify();
}
self.update_entries(false, cx);
}