This commit is contained in:
Mikayla Maki 2023-07-11 12:17:50 -07:00
parent be881369fa
commit 550aa2d6bd
No known key found for this signature in database

View file

@ -225,11 +225,9 @@ impl TerminalPanel {
pane::Event::AddItem { item } => {
if let Some(workspace) = self.workspace.upgrade(cx) {
let pane = self.pane.clone();
workspace.update(cx, |workspace, cx| {
item.added_to_pane(workspace,pane, cx)
})
workspace.update(cx, |workspace, cx| item.added_to_pane(workspace, pane, cx))
}
},
}
_ => {}
}