mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Add option to disable loading scripts in ScriptCreateDialog
This commit is contained in:
parent
e97e951741
commit
8708d44a50
5 changed files with 33 additions and 16 deletions
|
|
@ -1004,7 +1004,7 @@ void ScriptEditor::_menu_option(int p_option) {
|
|||
ScriptEditorBase *current = _get_current_editor();
|
||||
switch (p_option) {
|
||||
case FILE_NEW: {
|
||||
script_create_dialog->config("Node", "new_script", false);
|
||||
script_create_dialog->config("Node", "new_script", false, false);
|
||||
script_create_dialog->popup_centered();
|
||||
} break;
|
||||
case FILE_NEW_TEXTFILE: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue