Add tooltips to Export dialog icon buttons
This commit is contained in:
parent
cb7d5723b4
commit
f78943b08b
1 changed files with 2 additions and 0 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue