Fix "Attach Node Script" inherits popup type

This commit is contained in:
Jerome67000 2018-01-08 21:33:51 +01:00
parent d2f4964f58
commit 227238b424
1 changed files with 1 additions and 1 deletions

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;