Skip to content

armgit / godot

Public Imported from GitHub
0

Godot Engine – Multi-platform 2D and 3D game engine

Set accessibility name of next_page_button to "Next Page" instead of overwriting accessibility name of prev_page_button

Karsten Bockf044504978e7
diff --git a/editor/inspector/editor_inspector.cpp b/editor/inspector/editor_inspector.cpp
index 6f0e3f74bd4..801d43a6d9c 100644
--- a/editor/inspector/editor_inspector.cpp
+++ b/editor/inspector/editor_inspector.cpp
@@ -3829,7 +3829,7 @@ EditorPaginator::EditorPaginator() {
add_child(page_count_label);
next_page_button = memnew(Button);
- prev_page_button->set_accessibility_name(TTRC("Next Page"));
+ next_page_button->set_accessibility_name(TTRC("Next Page"));
next_page_button->set_flat(true);
next_page_button->connect(SceneStringName(pressed), callable_mp(this, &EditorPaginator::_next_page_button_pressed));
add_child(next_page_button);