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
|
|
@ -4836,7 +4836,7 @@ TextEdit::TextEdit() {
|
|||
menu->add_item(TTR("Clear"),MENU_CLEAR);
|
||||
menu->add_separator();
|
||||
menu->add_item(TTR("Undo"),MENU_UNDO,KEY_MASK_CMD|KEY_Z);
|
||||
menu->connect("item_pressed",this,"menu_option");
|
||||
menu->connect("id_pressed",this,"menu_option");
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue