We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42e5b3a commit 4a4968fCopy full SHA for 4a4968f
editor/gui/editor_file_dialog.cpp
@@ -634,8 +634,10 @@ void EditorFileDialog::_item_selected(int p_item) {
634
file->set_text(d["name"]);
635
_request_single_thumbnail(get_current_dir().path_join(get_current_file()));
636
637
- // FILE_MODE_OPEN_ANY can alternate this text depending on what's selected.
638
- set_ok_button_text(TTR("Open"));
+ if (mode != FILE_MODE_SAVE_FILE) {
+ // FILE_MODE_OPEN_ANY can alternate this text depending on what's selected.
639
+ set_ok_button_text(TTR("Open"));
640
+ }
641
} else if (mode == FILE_MODE_OPEN_DIR || mode == FILE_MODE_OPEN_ANY) {
642
file->set_text("");
643
set_ok_button_text(TTR("Select This Folder"));
0 commit comments