mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-11 05:19:50 +01:00
Add tooltips to Export dialog icon buttons
(cherry picked from commit f78943b08b4568dc1c7aa85e1d6b351f18f9472c)
This commit is contained in:
parent
264985d204
commit
ddac7ae8ed
@ -1011,9 +1011,11 @@ ProjectExportDialog::ProjectExportDialog() {
|
|||||||
mc->add_child(presets);
|
mc->add_child(presets);
|
||||||
presets->connect("item_selected", this, "_edit_preset");
|
presets->connect("item_selected", this, "_edit_preset");
|
||||||
duplicate_preset = memnew(ToolButton);
|
duplicate_preset = memnew(ToolButton);
|
||||||
|
duplicate_preset->set_tooltip(TTR("Duplicate"));
|
||||||
preset_hb->add_child(duplicate_preset);
|
preset_hb->add_child(duplicate_preset);
|
||||||
duplicate_preset->connect("pressed", this, "_duplicate_preset");
|
duplicate_preset->connect("pressed", this, "_duplicate_preset");
|
||||||
delete_preset = memnew(ToolButton);
|
delete_preset = memnew(ToolButton);
|
||||||
|
delete_preset->set_tooltip(TTR("Delete"));
|
||||||
preset_hb->add_child(delete_preset);
|
preset_hb->add_child(delete_preset);
|
||||||
delete_preset->connect("pressed", this, "_delete_preset");
|
delete_preset->connect("pressed", this, "_delete_preset");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user