Fix inspector draws focus on click when editing EditorPropertyTextEnum

This commit is contained in:
passivestar 2026-01-12 15:03:05 +04:00
parent 788beb36dc
commit fbadba291d

View file

@ -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) {