Add option to disable loading scripts in ScriptCreateDialog

This commit is contained in:
Michael Alexsander
2020-01-08 19:43:55 -03:00
parent e97e951741
commit 8708d44a50
5 changed files with 33 additions and 16 deletions

View File

@ -1761,7 +1761,7 @@ void FileSystemDock::_file_option(int p_option, const Vector<String> &p_selected
if (!fpath.ends_with("/")) {
fpath = fpath.get_base_dir();
}
make_script_dialog->config("Node", fpath.plus_file("new_script.gd"), false);
make_script_dialog->config("Node", fpath.plus_file("new_script.gd"), false, false);
make_script_dialog->popup_centered();
} break;