Skip to content

Commit

Permalink
Merge pull request #15504 from Jerome67000/fix_inherits_open_file_type
Browse files Browse the repository at this point in the history
Fix "Attach Node Script" inherits popup type
  • Loading branch information
akien-mga authored Jan 8, 2018
2 parents bc52174 + 227238b commit 1748ce7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/script_create_dialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1748ce7

Please sign in to comment.