From d861a528332adf75196da1ced81c58330509e57d Mon Sep 17 00:00:00 2001 From: Serhii Snitsaruk Date: Thu, 15 Dec 2022 18:44:42 +0100 Subject: [PATCH] Add placeholder text for filter edit --- editor/limbo_ai_editor_plugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/limbo_ai_editor_plugin.cpp b/editor/limbo_ai_editor_plugin.cpp index f101c1f..8afc2a5 100644 --- a/editor/limbo_ai_editor_plugin.cpp +++ b/editor/limbo_ai_editor_plugin.cpp @@ -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);