summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-06-10 12:57:33 +0200
committerGitHub <noreply@github.com>2022-06-10 12:57:33 +0200
commitb2e6fc54b95f5d7bc584fcb6a2c1a73973a0a959 (patch)
tree4eeb8f8aa80918b8081b2f94f0380e07303ea035
parent569dcc718b52893370bfa608e918cbc477a5d7ce (diff)
parentf78943b08b4568dc1c7aa85e1d6b351f18f9472c (diff)
Merge pull request #61890 from timothyqiu/export-tooltip
-rw-r--r--editor/project_export.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/project_export.cpp b/editor/project_export.cpp
index b77ab179fb..030337a4bc 100644
--- a/editor/project_export.cpp
+++ b/editor/project_export.cpp
@@ -1027,10 +1027,12 @@ ProjectExportDialog::ProjectExportDialog() {
mc->add_child(presets);
presets->connect("item_selected", callable_mp(this, &ProjectExportDialog::_edit_preset));
duplicate_preset = memnew(Button);
+ duplicate_preset->set_tooltip(TTR("Duplicate"));
duplicate_preset->set_flat(true);
preset_hb->add_child(duplicate_preset);
duplicate_preset->connect("pressed", callable_mp(this, &ProjectExportDialog::_duplicate_preset));
delete_preset = memnew(Button);
+ delete_preset->set_tooltip(TTR("Delete"));
delete_preset->set_flat(true);
preset_hb->add_child(delete_preset);
delete_preset->connect("pressed", callable_mp(this, &ProjectExportDialog::_delete_preset));