diff options
author | Martin Boué <martbou35@gmail.com> | 2023-05-11 21:28:17 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-05-12 13:56:49 +0200 |
commit | fe126359f01e8d2dc2b9e7af0a85dfb2e49d03ea (patch) | |
tree | 3c7fb9cade64a195ee9fb1aa1398ae70bb8b87fe /editor/export | |
parent | aa23e6fc5e4ce0ac901296fa900f1b3c5232d8da (diff) |
Fix include text when excluding resources to export
(cherry picked from commit 886e73683d2b386def3b9f8b11044bd02ce81db1)
Diffstat (limited to 'editor/export')
-rw-r--r-- | editor/export/project_export.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/export/project_export.cpp b/editor/export/project_export.cpp index a7ac95bd5b..0407f77e9b 100644 --- a/editor/export/project_export.cpp +++ b/editor/export/project_export.cpp @@ -244,6 +244,7 @@ void ProjectExportDialog::_edit_preset(int p_index) { export_filter->select(current->get_export_filter()); include_filters->set_text(current->get_include_filter()); + include_label->set_text(current->get_export_filter() == EditorExportPreset::EXCLUDE_SELECTED_RESOURCES ? TTR("Resources to exclude:") : TTR("Resources to export:")); exclude_filters->set_text(current->get_exclude_filter()); server_strip_message->set_visible(current->get_export_filter() == EditorExportPreset::EXPORT_CUSTOMIZED); @@ -704,6 +705,7 @@ void ProjectExportDialog::_export_type_changed(int p_which) { if (filter_type == EditorExportPreset::EXPORT_CUSTOMIZED && current->get_customized_files_count() == 0) { current->set_file_export_mode("res://", EditorExportPreset::MODE_FILE_STRIP); } + include_label->set_text(current->get_export_filter() == EditorExportPreset::EXCLUDE_SELECTED_RESOURCES ? TTR("Resources to exclude:") : TTR("Resources to export:")); updating = true; _fill_resource_tree(); |