diff --git a/editor/script_create_dialog.cpp b/editor/script_create_dialog.cpp index f1f1dd0403c..cee356b930a 100644 --- a/editor/script_create_dialog.cpp +++ b/editor/script_create_dialog.cpp @@ -307,7 +307,7 @@ void ScriptCreateDialog::_browse_path(bool browse_parent) { is_browsing_parent = browse_parent; - file_browse->set_mode(EditorFileDialog::MODE_OPEN_FILE); + file_browse->set_mode(EditorFileDialog::MODE_SAVE_FILE); file_browse->set_disable_overwrite_warning(true); file_browse->clear_filters(); List extensions;