You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
[Scene] Add SceneStringNames::id_pressed
This commit is contained in:
@@ -839,7 +839,7 @@ AnimationLibraryEditor::AnimationLibraryEditor() {
|
||||
|
||||
file_popup = memnew(PopupMenu);
|
||||
add_child(file_popup);
|
||||
file_popup->connect("id_pressed", callable_mp(this, &AnimationLibraryEditor::_file_popup_selected));
|
||||
file_popup->connect(SceneStringName(id_pressed), callable_mp(this, &AnimationLibraryEditor::_file_popup_selected));
|
||||
|
||||
add_child(vb);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user