diff options
| author | Michael Alexsander <michaelalexsander@protonmail.com> | 2022-09-15 20:49:14 -0300 | 
|---|---|---|
| committer | Michael Alexsander <michaelalexsander@protonmail.com> | 2022-09-15 22:01:52 -0300 | 
| commit | 2f016c521fdcbb89f58a6326be32b2e7ac52e8c5 (patch) | |
| tree | 5de91ed5f0c73d1ff5c21e109fe01edb85fe3d0c | |
| parent | c2babb65580d4dce3a0fc8834dd05fe177227b6e (diff) | |
Fix empty text in the add button when editing nodes with items
| -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) {  |