summaryrefslogtreecommitdiff
path: root/tools/editor/script_create_dialog.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-06-18 19:30:21 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-06-18 19:32:52 -0300
commit17fbf473fdd12f0a9a351521256d5c34880cb427 (patch)
treecc98975396a300f9b87cb5052bef760eae79f18a /tools/editor/script_create_dialog.cpp
parent935a56844473931dcd810ae5f6e807f369ac3920 (diff)
revert previous fix, was a bad idea
Diffstat (limited to 'tools/editor/script_create_dialog.cpp')
-rw-r--r--tools/editor/script_create_dialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/script_create_dialog.cpp b/tools/editor/script_create_dialog.cpp
index 02b94f5ad8..e88d603b30 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<String> extensions;