fix dismiss tooltip for project search

This commit is contained in:
Piotr Osiewicz
2023-08-09 01:37:17 +02:00
parent 22f630e985
commit d34da2db69
3 changed files with 3 additions and 1 deletions
+1
View File
@@ -288,6 +288,7 @@ impl View for BufferSearchBar {
.with_child(search_button_for_mode(SearchMode::Text, cx))
.with_child(search_button_for_mode(SearchMode::Regex, cx))
.with_child(super::search_bar::render_close_button(
"Dismiss Buffer Search",
&theme.search,
cx,
|_, this, cx| this.dismiss(&Default::default(), cx),