diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-06-15 11:06:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-15 11:06:36 +0200 |
commit | 0a46f73aff5c3c06db1948d8d960a42573747f89 (patch) | |
tree | 7e97ad34dacd401b56774c49d355d22dabbdae6a /editor/plugins | |
parent | 57867d8ae349a63fe44978f2b9e13e29dff4f028 (diff) | |
parent | f72c1ac2a33d710bcde946489470df1ab841f014 (diff) |
Merge pull request #62063 from fire-forge/inputevent-button
Diffstat (limited to 'editor/plugins')
-rw-r--r-- | editor/plugins/input_event_editor_plugin.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/editor/plugins/input_event_editor_plugin.cpp b/editor/plugins/input_event_editor_plugin.cpp index fb0e260388..2acd0fca6e 100644 --- a/editor/plugins/input_event_editor_plugin.cpp +++ b/editor/plugins/input_event_editor_plugin.cpp @@ -84,8 +84,7 @@ InputEventConfigContainer::InputEventConfigContainer() { input_event_text->set_horizontal_alignment(HORIZONTAL_ALIGNMENT_CENTER); add_child(input_event_text); - open_config_button = memnew(Button); - open_config_button->set_text(TTR("Configure")); + open_config_button = EditorInspector::create_inspector_action_button(TTR("Configure")); open_config_button->connect("pressed", callable_mp(this, &InputEventConfigContainer::_configure_pressed)); add_child(open_config_button); |