Add tab context menu
This commit is contained in:
parent
035189a2a1
commit
67cb046298
3 changed files with 311 additions and 58 deletions
|
@ -402,7 +402,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