You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
PopupMenu now emits both index_pressed and id_pressed instead of item_pressed, closes #3188
This commit is contained in:
@@ -1418,7 +1418,7 @@ EditorAssetLibrary::EditorAssetLibrary(bool p_templates_only) {
|
||||
support->get_popup()->add_check_item(TTR("Testing"),SUPPORT_TESTING);
|
||||
support->get_popup()->set_item_checked(SUPPORT_OFFICIAL,true);
|
||||
support->get_popup()->set_item_checked(SUPPORT_COMMUNITY,true);
|
||||
support->get_popup()->connect("item_pressed",this,"_support_toggled");
|
||||
support->get_popup()->connect("id_pressed",this,"_support_toggled");
|
||||
|
||||
/////////
|
||||
|
||||
|
||||
Reference in New Issue
Block a user