Merge pull request #86278 from YeldhamDev/filter_scene_tooltip
Fix scene dock search losing its default tooltip after typing an invalid filter
This commit is contained in:
commit
8d9c11b72b
|
@ -3330,7 +3330,7 @@ void SceneTreeDock::_filter_changed(const String &p_filter) {
|
|||
filter->set_tooltip_text(warning);
|
||||
} else {
|
||||
filter->remove_theme_icon_override(SNAME("clear"));
|
||||
filter->set_tooltip_text("");
|
||||
filter->set_tooltip_text(TTR("Filter nodes by entering a part of their name, type (if prefixed with \"type:\" or \"t:\")\nor group (if prefixed with \"group:\" or \"g:\"). Filtering is case-insensitive."));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue