mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-30 06:05:19 +00:00
Fix bug with terminal button
This commit is contained in:
parent
26d80eef0a
commit
0dce5ba7ae
1 changed files with 3 additions and 0 deletions
|
@ -1554,6 +1554,9 @@ impl Workspace {
|
|||
.map(|ix| (pane.clone(), ix))
|
||||
});
|
||||
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));
|
||||
true
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue