Merge branch 'main' into window_context_2
This commit is contained in:
commit
33bc47dbe2
53 changed files with 3951 additions and 2474 deletions
|
@ -417,7 +417,7 @@ impl<T: Item> ItemHandle for ViewHandle<T> {
|
|||
for item_event in T::to_item_events(event).into_iter() {
|
||||
match item_event {
|
||||
ItemEvent::CloseItem => {
|
||||
Pane::close_item(workspace, pane, item.id(), cx)
|
||||
Pane::close_item_by_id(workspace, pane, item.id(), cx)
|
||||
.detach_and_log_err(cx);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue