Merge pull request #15504 from Jerome67000/fix_inherits_open_file_type

Fix "Attach Node Script" inherits popup type
This commit is contained in:
Rémi Verschelde 2018-01-08 21:41:42 +01:00 committed by GitHub
commit 1748ce74cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;