summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2022-08-18 15:58:08 +0200
committerkobewi <kobewi4e@gmail.com>2022-08-18 15:58:08 +0200
commit129d63880514e3d8becfa584ec9f35570d95f678 (patch)
tree1e7f3a28074ec85c8803ada3b0f08783033f0b0f
parent03dc8c5d6fc4a1cc8c0b8b329ae53a3d0d8b3074 (diff)
Clear built-in name field when creating new script
-rw-r--r--editor/script_create_dialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/script_create_dialog.cpp b/editor/script_create_dialog.cpp
index 77e0321f83..15e992ce18 100644
--- a/editor/script_create_dialog.cpp
+++ b/editor/script_create_dialog.cpp
@@ -166,6 +166,7 @@ void ScriptCreateDialog::config(const String &p_base_name, const String &p_base_
class_name->deselect();
parent_name->set_text(p_base_name);
parent_name->deselect();
+ internal_name->set_text("");
if (!p_base_path.is_empty()) {
initial_bp = p_base_path.get_basename();