mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-09 02:44:49 +00:00
fmt
This commit is contained in:
parent
be881369fa
commit
550aa2d6bd
1 changed files with 2 additions and 4 deletions
|
@ -225,11 +225,9 @@ impl TerminalPanel {
|
||||||
pane::Event::AddItem { item } => {
|
pane::Event::AddItem { item } => {
|
||||||
if let Some(workspace) = self.workspace.upgrade(cx) {
|
if let Some(workspace) = self.workspace.upgrade(cx) {
|
||||||
let pane = self.pane.clone();
|
let pane = self.pane.clone();
|
||||||
workspace.update(cx, |workspace, cx| {
|
workspace.update(cx, |workspace, cx| item.added_to_pane(workspace, pane, cx))
|
||||||
item.added_to_pane(workspace,pane, cx)
|
}
|
||||||
})
|
|
||||||
}
|
}
|
||||||
},
|
|
||||||
|
|
||||||
_ => {}
|
_ => {}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue