Skip to content

Commit

Permalink
Merge pull request #62063 from fire-forge/inputevent-button
Browse files Browse the repository at this point in the history
  • Loading branch information
akien-mga authored Jun 15, 2022
2 parents 57867d8 + f72c1ac commit 0a46f73
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions editor/plugins/input_event_editor_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 0a46f73

Please sign in to comment.