Close remote project windows when leaving a call
This commit is contained in:
parent
385dfe1661
commit
b34477458e
3 changed files with 11 additions and 0 deletions
|
@ -598,6 +598,11 @@ impl Workspace {
|
|||
cx.blur();
|
||||
}
|
||||
|
||||
project::Event::Closed => {
|
||||
let window_id = cx.window_id();
|
||||
cx.remove_window(window_id);
|
||||
}
|
||||
|
||||
_ => {}
|
||||
}
|
||||
cx.notify()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue