diff --git a/crates/tab_switcher/src/tab_switcher.rs b/crates/tab_switcher/src/tab_switcher.rs index 8b582796b371dc7e10f1bd72f406064fe6be80d1..8ffa33183126cd5578ed7305c3ece3f0821e8d5c 100644 --- a/crates/tab_switcher/src/tab_switcher.rs +++ b/crates/tab_switcher/src/tab_switcher.rs @@ -537,7 +537,7 @@ impl TabSwitcherDelegate { let Some(tab_match) = self.matches.get(ix) else { return; }; - let Some(pane) = self.pane.upgrade() else { + let Some(pane) = tab_match.pane.upgrade() else { return; }; pane.update(cx, |pane, cx| {