mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Revert "Fix "Attach Node Script" inherits popup type"
This reverts commit 227238b424.
This dialog is used to both open and create scripts, so it needs to have
the features of the save dialog.
This commit is contained in:
parent
e1c799f1b4
commit
29ae3e5f33
1 changed files with 1 additions and 1 deletions
|
|
@ -307,7 +307,7 @@ void ScriptCreateDialog::_browse_path(bool browse_parent) {
|
|||
|
||||
is_browsing_parent = browse_parent;
|
||||
|
||||
file_browse->set_mode(EditorFileDialog::MODE_OPEN_FILE);
|
||||
file_browse->set_mode(EditorFileDialog::MODE_SAVE_FILE);
|
||||
file_browse->set_disable_overwrite_warning(true);
|
||||
file_browse->clear_filters();
|
||||
List<String> extensions;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue