You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
[Scene] Add SceneStringNames::pressed
This commit is contained in:
@@ -88,7 +88,7 @@ InputEventConfigContainer::InputEventConfigContainer() {
|
||||
add_child(input_event_text);
|
||||
|
||||
open_config_button = EditorInspector::create_inspector_action_button(TTR("Configure"));
|
||||
open_config_button->connect("pressed", callable_mp(this, &InputEventConfigContainer::_configure_pressed));
|
||||
open_config_button->connect(SceneStringName(pressed), callable_mp(this, &InputEventConfigContainer::_configure_pressed));
|
||||
add_child(open_config_button);
|
||||
|
||||
add_child(memnew(Control));
|
||||
|
||||
Reference in New Issue
Block a user