From fbadba291db8e122743ffacf6a2676e444451122 Mon Sep 17 00:00:00 2001 From: passivestar <60579014+passivestar@users.noreply.github.com> Date: Mon, 12 Jan 2026 15:03:05 +0400 Subject: [PATCH] Fix inspector draws focus on click when editing EditorPropertyTextEnum --- editor/inspector/editor_properties.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/inspector/editor_properties.cpp b/editor/inspector/editor_properties.cpp index a63b92e504..cef9aa8dde 100644 --- a/editor/inspector/editor_properties.cpp +++ b/editor/inspector/editor_properties.cpp @@ -445,7 +445,7 @@ void EditorPropertyTextEnum::_option_selected(int p_which) { void EditorPropertyTextEnum::_edit_custom_value() { default_layout->hide(); edit_custom_layout->show(); - custom_value_edit->grab_focus(); + custom_value_edit->grab_focus(true); } void EditorPropertyTextEnum::_custom_value_submitted(const String &p_value) {