diff options
author | Jerome67000 <jerome.gully0@gmail.com> | 2018-01-08 21:33:51 +0100 |
---|---|---|
committer | Jerome67000 <jerome.gully0@gmail.com> | 2018-01-08 21:33:51 +0100 |
commit | 227238b4246d335910c364188ce9233fc70ddc65 (patch) | |
tree | 3f61a61f17cc6e07dd1c7b1a33eceab5bc65ff76 | |
parent | d2f4964f58272444f33d6397939ca076b6e1b8f6 (diff) |
Fix "Attach Node Script" inherits popup type
-rw-r--r-- | editor/script_create_dialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/script_create_dialog.cpp b/editor/script_create_dialog.cpp index cee356b930..f1f1dd0403 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_SAVE_FILE); + file_browse->set_mode(EditorFileDialog::MODE_OPEN_FILE); file_browse->set_disable_overwrite_warning(true); file_browse->clear_filters(); List<String> extensions; |