mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
[Scene] Add SceneStringNames::id_pressed
This commit is contained in:
parent
505da68b26
commit
755a0efbb6
72 changed files with 163 additions and 161 deletions
|
|
@ -1026,7 +1026,7 @@ CurveEditor::CurveEditor() {
|
|||
presets_button->set_switch_on_hover(true);
|
||||
presets_button->set_h_size_flags(SIZE_EXPAND | SIZE_SHRINK_END);
|
||||
toolbar->add_child(presets_button);
|
||||
presets_button->get_popup()->connect("id_pressed", callable_mp(this, &CurveEditor::_on_preset_item_selected));
|
||||
presets_button->get_popup()->connect(SceneStringName(id_pressed), callable_mp(this, &CurveEditor::_on_preset_item_selected));
|
||||
|
||||
curve_editor_rect = memnew(CurveEdit);
|
||||
add_child(curve_editor_rect);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue