diff options
| author | William McKIE | 2017-11-10 21:42:20 +0100 |
|---|---|---|
| committer | William McKIE | 2017-11-10 21:57:39 +0100 |
| commit | fd01e7d89e2eb8c92acd8cf6fbcfa804da5ac59c (patch) | |
| tree | 3f00c28b887660ff8179baa1991b7ed0245afe80 /editor/project_settings_editor.cpp | |
| parent | 19b1ff0fc5f7acce23176ad6c8752604357472f0 (diff) | |
| download | godot-fd01e7d89e2eb8c92acd8cf6fbcfa804da5ac59c.tar.gz godot-fd01e7d89e2eb8c92acd8cf6fbcfa804da5ac59c.tar.zst godot-fd01e7d89e2eb8c92acd8cf6fbcfa804da5ac59c.zip | |
Replace Del icon by Remove icon
It would seem there are editors that still used the old del icon
inherited from 2.X instead of the fresh remove icon from 3.X
resulting to be replaced to an "Error" textual icon.
Diffstat (limited to '')
| -rw-r--r-- | editor/project_settings_editor.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editor/project_settings_editor.cpp b/editor/project_settings_editor.cpp index b21c17654..340ea708b 100644 --- a/editor/project_settings_editor.cpp +++ b/editor/project_settings_editor.cpp @@ -1318,7 +1318,7 @@ void ProjectSettingsEditor::_update_translations() { t->set_text(0, translations[i].replace_first("res://", "")); t->set_tooltip(0, translations[i]); t->set_metadata(0, i); - t->add_button(0, get_icon("Del", "EditorIcons"), 0, false, TTR("Remove")); + t->add_button(0, get_icon("Remove", "EditorIcons"), 0, false, TTR("Remove")); } } @@ -1436,7 +1436,7 @@ void ProjectSettingsEditor::_update_translations() { t->set_text(0, keys[i].replace_first("res://", "")); t->set_tooltip(0, keys[i]); t->set_metadata(0, keys[i]); - t->add_button(0, get_icon("Del", "EditorIcons"), 0, false, TTR("Remove")); + t->add_button(0, get_icon("Remove", "EditorIcons"), 0, false, TTR("Remove")); if (keys[i] == remap_selected) { t->select(0); translation_res_option_add_button->set_disabled(false); @@ -1454,7 +1454,7 @@ void ProjectSettingsEditor::_update_translations() { t2->set_text(0, path.replace_first("res://", "")); t2->set_tooltip(0, path); t2->set_metadata(0, j); - t2->add_button(0, get_icon("Del", "EditorIcons"), 0, false, TTR("Remove")); + t2->add_button(0, get_icon("Remove", "EditorIcons"), 0, false, TTR("Remove")); t2->set_cell_mode(1, TreeItem::CELL_MODE_RANGE); t2->set_text(1, langnames); t2->set_editable(1, true); |
