diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-12-16 15:51:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-16 15:51:06 +0100 |
commit | 169db6abdd9d8973822dc5f2a4ce5bcf00bb3f55 (patch) | |
tree | 6bfee57c0320dd9d959b1973600eb7b82a04c373 | |
parent | e73afd8dc9c98b98a39a3f1d2329c535ba9c6d22 (diff) | |
parent | d072d5ed14416af68d0c85b98dd28a638e616596 (diff) |
Merge pull request #24397 from volzhs/builtin-script
Create built-in script properly
-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(); } |