diff options
| author | Juan Linietsky | 2016-06-20 00:38:13 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2016-06-20 00:38:13 -0300 |
| commit | 6e9e57beaa7876479a629c32a31c98f7699b9773 (patch) | |
| tree | 262cbe61faae141aa457a01d8a766c4d620f70be /tools/editor/script_create_dialog.cpp | |
| parent | 00bc06b50bb1c688e6481ae8fbfab0a758b83dad (diff) | |
| download | godot-6e9e57beaa7876479a629c32a31c98f7699b9773.tar.gz godot-6e9e57beaa7876479a629c32a31c98f7699b9773.tar.zst godot-6e9e57beaa7876479a629c32a31c98f7699b9773.zip | |
-Added ability to disable overwrite warning on file dialog, fixes #4545
Diffstat (limited to '')
| -rw-r--r-- | tools/editor/script_create_dialog.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/editor/script_create_dialog.cpp b/tools/editor/script_create_dialog.cpp index e88d603b3..e93a40efb 100644 --- a/tools/editor/script_create_dialog.cpp +++ b/tools/editor/script_create_dialog.cpp @@ -185,6 +185,7 @@ void ScriptCreateDialog::_built_in_pressed() { void ScriptCreateDialog::_browse_path() { file_browse->set_mode(EditorFileDialog::MODE_SAVE_FILE); + file_browse->set_disable_overwrite_warning(true); file_browse->clear_filters(); List<String> extensions; |
