Add placeholder text for filter edit

This commit is contained in:
Serhii Snitsaruk 2022-12-15 18:44:42 +01:00
parent 3d1873e329
commit d861a52833
1 changed files with 1 additions and 0 deletions

View File

@ -556,6 +556,7 @@ TaskPanel::TaskPanel() {
filter_edit = memnew(LineEdit);
vb->add_child(filter_edit);
filter_edit->set_clear_button_enabled(true);
filter_edit->set_placeholder(TTR("Filter tasks"));
filter_edit->connect("text_changed", callable_mp(this, &TaskPanel::_on_filter_text_changed));
ScrollContainer *sc = memnew(ScrollContainer);