Fix bug with terminal button

This commit is contained in:
Mikayla Maki 2023-05-10 08:15:20 -07:00
parent 26d80eef0a
commit 0dce5ba7ae
No known key found for this signature in database

View file

@ -1554,6 +1554,9 @@ impl Workspace {
.map(|ix| (pane.clone(), ix)) .map(|ix| (pane.clone(), ix))
}); });
if let Some((pane, ix)) = result { if let Some((pane, ix)) = result {
if &pane == self.dock_pane() {
Dock::show(self, false, cx);
}
pane.update(cx, |pane, cx| pane.activate_item(ix, true, true, cx)); pane.update(cx, |pane, cx| pane.activate_item(ix, true, true, cx));
true true
} else { } else {