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
|
|
@ -1267,7 +1267,7 @@ GridMapEditor::GridMapEditor(EditorNode *p_editor) {
|
|||
settings_vbc->add_margin_child("Pick Distance:", settings_pick_distance);
|
||||
|
||||
clip_mode=CLIP_DISABLED;
|
||||
options->get_popup()->connect("item_pressed", this,"_menu_option");
|
||||
options->get_popup()->connect("id_pressed", this,"_menu_option");
|
||||
|
||||
HBoxContainer *hb = memnew( HBoxContainer );
|
||||
add_child(hb);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue