Merge branch 'main' into allow-following-outside-of-projects
This commit is contained in:
commit
a8b35eb8f5
147 changed files with 5383 additions and 1726 deletions
|
@ -478,11 +478,7 @@ impl<T: Item> ItemHandle for ViewHandle<T> {
|
|||
match item_event {
|
||||
ItemEvent::CloseItem => {
|
||||
pane.update(cx, |pane, cx| {
|
||||
pane.close_item_by_id(
|
||||
item.id(),
|
||||
crate::SaveBehavior::PromptOnWrite,
|
||||
cx,
|
||||
)
|
||||
pane.close_item_by_id(item.id(), crate::SaveIntent::Close, cx)
|
||||
})
|
||||
.detach_and_log_err(cx);
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue