diff options
-rw-r--r-- | editor/script_create_dialog.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/script_create_dialog.cpp b/editor/script_create_dialog.cpp index df704706af..e0c95e3bbc 100644 --- a/editor/script_create_dialog.cpp +++ b/editor/script_create_dialog.cpp @@ -308,8 +308,10 @@ void ScriptCreateDialog::_built_in_pressed() { if (internal->is_pressed()) { is_built_in = true; + is_new_script_created = true; } else { is_built_in = false; + _path_changed(file_path->get_text()); } _update_dialog(); } |