diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-16 09:22:36 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-16 09:22:36 +0200 |
commit | 14c602f032a7932e801292d8277b98baaa232bfb (patch) | |
tree | 1fe68595b1bb698f7c0e8202bb2e6ab62dbe4f42 /editor | |
parent | a981a8061f5b3946ee28a3162bcf276173d8b01a (diff) | |
parent | 2f016c521fdcbb89f58a6326be32b2e7ac52e8c5 (diff) |
Merge pull request #65854 from YeldhamDev/add_element_fix
Fix empty text in the add button when editing nodes with items
Diffstat (limited to 'editor')
-rw-r--r-- | editor/editor_inspector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_inspector.cpp b/editor/editor_inspector.cpp index 9e7314bf50..08c731cba5 100644 --- a/editor/editor_inspector.cpp +++ b/editor/editor_inspector.cpp @@ -3038,7 +3038,7 @@ void EditorInspector::update_tree() { bool movable = true; bool numbered = false; bool foldable = use_folding; - String add_button_text; + String add_button_text = TTR("Add Element"); String swap_method; for (int i = (p.type == Variant::NIL ? 1 : 2); i < class_name_components.size(); i++) { if (class_name_components[i].begins_with("page_size") && class_name_components[i].get_slice_count("=") == 2) { |