You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +00:00
PopupMenu now emits both index_pressed and id_pressed instead of item_pressed, closes #3188
This commit is contained in:
@@ -144,7 +144,7 @@ void Particles2DEditorPlugin::_notification(int p_what) {
|
||||
|
||||
if (p_what==NOTIFICATION_ENTER_TREE) {
|
||||
|
||||
menu->get_popup()->connect("item_pressed",this,"_menu_callback");
|
||||
menu->get_popup()->connect("id_pressed",this,"_menu_callback");
|
||||
menu->set_icon(menu->get_popup()->get_icon("Particles2D","EditorIcons"));
|
||||
file->connect("file_selected",this,"_file_selected");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user