diff options
author | Spartan322 <Megacake1234@gmail.com> | 2024-10-24 18:01:23 -0400 |
---|---|---|
committer | Spartan322 <Megacake1234@gmail.com> | 2024-10-24 18:01:23 -0400 |
commit | 3679f5971aa431d37cc2acd5d459ed4b38aad26f (patch) | |
tree | cee32a21c68b1d737fc0cbe52b2a0ff649016123 /editor/add_metadata_dialog.cpp | |
parent | a22fcac9dc8ecca406a3267849954a5a5373dd11 (diff) | |
parent | 1015a481ff43edb1126ab39a147fefda290131e5 (diff) | |
download | redot-engine-3679f5971aa431d37cc2acd5d459ed4b38aad26f.tar.gz |
Merge commit godotengine/godot@1015a481ff43edb1126ab39a147fefda290131e5
Diffstat (limited to 'editor/add_metadata_dialog.cpp')
-rw-r--r-- | editor/add_metadata_dialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/add_metadata_dialog.cpp b/editor/add_metadata_dialog.cpp index f40db0e59a..0f4e8f6022 100644 --- a/editor/add_metadata_dialog.cpp +++ b/editor/add_metadata_dialog.cpp @@ -66,7 +66,6 @@ AddMetadataDialog::AddMetadataDialog() { } void AddMetadataDialog::_complete_init(const StringName &p_title) { - add_meta_name->grab_focus(); add_meta_name->set_text(""); validation_panel->update(); @@ -92,6 +91,7 @@ void AddMetadataDialog::open(const StringName p_title, List<StringName> &p_exist this->_existing_metas = p_existing_metas; _complete_init(p_title); popup_centered(); + add_meta_name->grab_focus(); } StringName AddMetadataDialog::get_meta_name() { |