From 71201a73898fb1e6d122f5f1bd93649c440011db Mon Sep 17 00:00:00 2001 From: Serhii Snitsaruk Date: Wed, 23 Nov 2022 21:19:23 +0100 Subject: [PATCH] Add placeholder text to rename dialog --- 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 a9488da..8c24ef6 100644 --- a/editor/limbo_ai_editor_plugin.cpp +++ b/editor/limbo_ai_editor_plugin.cpp @@ -1168,6 +1168,7 @@ LimboAIEditor::LimboAIEditor(EditorNode *p_editor) { rename_edit = memnew(LineEdit); vbc->add_child(rename_edit); + rename_edit->set_placeholder("Custom Name"); rename_edit->set_h_size_flags(Control::SIZE_EXPAND_FILL); rename_edit->set_custom_minimum_size(Size2(350.0, 0.0)); rename_edit->connect("text_entered", this, "_rename_task");