mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
PopupMenu now emits both index_pressed and id_pressed instead of item_pressed, closes #3188
This commit is contained in:
parent
1b0930c435
commit
fa170cbc58
43 changed files with 89 additions and 87 deletions
|
|
@ -241,7 +241,7 @@ MeshInstanceEditor::MeshInstanceEditor() {
|
|||
options->get_popup()->add_separator();
|
||||
options->get_popup()->add_item(TTR("Create Outline Mesh.."),MENU_OPTION_CREATE_OUTLINE_MESH);
|
||||
|
||||
options->get_popup()->connect("item_pressed", this,"_menu_option");
|
||||
options->get_popup()->connect("id_pressed", this,"_menu_option");
|
||||
|
||||
outline_dialog = memnew( ConfirmationDialog );
|
||||
outline_dialog->set_title(TTR("Create Outline Mesh"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue