diff --git a/crates/tab_switcher/src/tab_switcher.rs b/crates/tab_switcher/src/tab_switcher.rs index 2f3b4a65ae0a80d7a5822b18958f928120d3b4cd..b8912802d2fd6caa54e7c02ec315e35479b73e37 100644 --- a/crates/tab_switcher/src/tab_switcher.rs +++ b/crates/tab_switcher/src/tab_switcher.rs @@ -450,7 +450,7 @@ impl PickerDelegate for TabSwitcherDelegate { IconButton::new("close_tab", IconName::Close) .icon_size(IconSize::Small) .icon_color(indicator_color) - .tooltip(Tooltip::text("Close")) + .tooltip(Tooltip::for_action_title("Close", &CloseSelectedItem)) .on_click(cx.listener(move |picker, _, window, cx| { cx.stop_propagation(); picker.delegate.close_item_at(ix, window, cx);