From 17fbf473fdd12f0a9a351521256d5c34880cb427 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Sat, 18 Jun 2016 19:30:21 -0300 Subject: [PATCH] revert previous fix, was a bad idea --- tools/editor/script_create_dialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/editor/script_create_dialog.cpp b/tools/editor/script_create_dialog.cpp index 02b94f5ad82..e88d603b307 100644 --- a/tools/editor/script_create_dialog.cpp +++ b/tools/editor/script_create_dialog.cpp @@ -184,7 +184,7 @@ void ScriptCreateDialog::_built_in_pressed() { void ScriptCreateDialog::_browse_path() { - file_browse->set_mode(EditorFileDialog::MODE_OPEN_FILE); + file_browse->set_mode(EditorFileDialog::MODE_SAVE_FILE); file_browse->clear_filters(); List extensions;