From ddac7ae8ed0cfb46a324ba1ea5a7b1129e5be4c0 Mon Sep 17 00:00:00 2001 From: Haoyu Qiu Date: Fri, 10 Jun 2022 18:38:46 +0800 Subject: [PATCH] Add tooltips to Export dialog icon buttons (cherry picked from commit f78943b08b4568dc1c7aa85e1d6b351f18f9472c) --- editor/project_export.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/editor/project_export.cpp b/editor/project_export.cpp index 09cb7b240..24a97a65a 100644 --- a/editor/project_export.cpp +++ b/editor/project_export.cpp @@ -1011,9 +1011,11 @@ ProjectExportDialog::ProjectExportDialog() { mc->add_child(presets); presets->connect("item_selected", this, "_edit_preset"); duplicate_preset = memnew(ToolButton); + duplicate_preset->set_tooltip(TTR("Duplicate")); preset_hb->add_child(duplicate_preset); duplicate_preset->connect("pressed", this, "_duplicate_preset"); delete_preset = memnew(ToolButton); + delete_preset->set_tooltip(TTR("Delete")); preset_hb->add_child(delete_preset); delete_preset->connect("pressed", this, "_delete_preset");