diff --git a/crates/workspace2/src/pane.rs b/crates/workspace2/src/pane.rs index 9e620d993a..594c2a0b78 100644 --- a/crates/workspace2/src/pane.rs +++ b/crates/workspace2/src/pane.rs @@ -1687,7 +1687,7 @@ impl Pane { ), ) }) - .when(self.has_focus(cx), |tab_bar| { + .when(self.was_focused || self.has_focus(cx), |tab_bar| { tab_bar.end_child({ let render_tab_buttons = self.render_tab_bar_buttons.clone(); render_tab_buttons(self, cx)