Skip to content

Commit

Permalink
Use new inspector button style in InputEvent editor
Browse files Browse the repository at this point in the history
  • Loading branch information
fire-forge committed Jun 15, 2022
1 parent ccd9378 commit f72c1ac
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 f72c1ac

Please sign in to comment.