You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
[Scene] Add SceneStringNames::id_pressed
This commit is contained in:
@@ -1679,7 +1679,7 @@ EditorAssetLibrary::EditorAssetLibrary(bool p_templates_only) {
|
||||
support->get_popup()->add_check_item(TTRGET(support_text[SUPPORT_TESTING]), SUPPORT_TESTING);
|
||||
support->get_popup()->set_item_checked(SUPPORT_FEATURED, true);
|
||||
support->get_popup()->set_item_checked(SUPPORT_COMMUNITY, true);
|
||||
support->get_popup()->connect("id_pressed", callable_mp(this, &EditorAssetLibrary::_support_toggled));
|
||||
support->get_popup()->connect(SceneStringName(id_pressed), callable_mp(this, &EditorAssetLibrary::_support_toggled));
|
||||
|
||||
/////////
|
||||
|
||||
|
||||
Reference in New Issue
Block a user