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:
parent
530bc5c99e
commit
2e6d044bac
1 changed files with 5 additions and 0 deletions
|
@ -1408,6 +1408,11 @@ impl CollabPanel {
|
|||
});
|
||||
}
|
||||
|
||||
if self.context_menu.is_some() {
|
||||
self.context_menu.take();
|
||||
cx.notify();
|
||||
}
|
||||
|
||||
self.update_entries(false, cx);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue