Provide a description of fuzzy search

Update editor/gui/editor_quick_open_dialog.cpp

Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
This commit is contained in:
Malcolm Anderson 2025-06-03 22:43:21 -07:00
parent e45cc68092
commit 24a1d2d11c

View file

@ -265,7 +265,7 @@ QuickOpenResultContainer::QuickOpenResultContainer() {
fuzzy_search_toggle = memnew(CheckButton);
style_button(fuzzy_search_toggle);
fuzzy_search_toggle->set_text(TTR("Fuzzy Search"));
fuzzy_search_toggle->set_tooltip_text(TTR("Enable fuzzy matching"));
fuzzy_search_toggle->set_tooltip_text(TTRC("Include inexact matches or matches starting in the middle of a filename, instead of only exact matches from the beginning."));
fuzzy_search_toggle->connect(SceneStringName(toggled), callable_mp(this, &QuickOpenResultContainer::_toggle_fuzzy_search));
bottom_bar->add_child(fuzzy_search_toggle);